Remove Kodi specific settings from PHT Settings

This commit is contained in:
Mark McDowall
2015-05-13 08:01:39 -07:00
parent 9f73b2b7f0
commit c4e1a732dd
6 changed files with 39 additions and 7 deletions

View File

@@ -12,6 +12,10 @@ var _fieldBuilder = function(field) {
return _templateRenderer.call(field, 'Form/TextboxTemplate');
}
if (field.type === 'hidden') {
return _templateRenderer.call(field, 'Form/HiddenTemplate');
}
if (field.type === 'password') {
return _templateRenderer.call(field, 'Form/PasswordTemplate');
}

View File

@@ -0,0 +1,8 @@
<div class="form-group hidden">
<label class="col-sm-3 control-label">{{label}}</label>
<div class="col-sm-5">
<input type="text" name="fields.{{order}}.value" validation-name="{{name}}" spellcheck="false" class="form-control"/>
</div>
{{> FormHelpPartial}}
</div>