General settings tab is model bound

pull/2/head
Mark McDowall 12 years ago
parent 1905b66a66
commit 1b83549cab

@ -45,8 +45,8 @@
<div class="controls"> <div class="controls">
<select class="inputClass" name="authenticationType"> <select class="inputClass" name="authenticationType">
<option value="Anonymous">Anonymous</option> <option value="anonymous">Anonymous</option>
<option value="Basic">Basic</option> <option value="basic">Basic</option>
</select> </select>
</div> </div>
</div> </div>

@ -1,8 +1,10 @@
'use strict'; 'use strict';
define(['marionette'], function (Marionette) { define(['marionette', 'Mixins/AsModelBoundView'], function (Marionette, AsModelBoundView) {
return Marionette.ItemView.extend({ var view = Marionette.ItemView.extend({
template: 'Settings/General/GeneralTemplate' template: 'Settings/General/GeneralTemplate'
} }
); );
return AsModelBoundView.call(view);
}); });

Loading…
Cancel
Save