var choiceSingle = Object.create(choiceBase);
_.extend(choiceSingle, {
type: 'single',
+ name: gettext('Single Choice'),
init: function() {
this._comboName = _.uniqueId('edumed_exercise_hash_');
choiceBase.init.call(this);
});
var RadioView = function(checked, name, onValueChange) {
- this.dom = $('<input type="radio" style="float: left; margin-right: 40px;">')
+ this.dom = $('<input type="radio">')
.attr('checked', checked)
.attr('name', name);
this.dom.on('change', function() {