aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_radio.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/field_radio.tpl')
-rwxr-xr-xview/tpl/field_radio.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/view/tpl/field_radio.tpl b/view/tpl/field_radio.tpl
new file mode 100755
index 000000000..6b5f52de6
--- /dev/null
+++ b/view/tpl/field_radio.tpl
@@ -0,0 +1,8 @@
+ <div class="form-group field radio">
+ <label for='id_{{$field.0}}_{{$field.2}}'>
+ <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked="true"{{/if}}>
+ {{$field.1}}
+ </label>
+ <span class='help-block'>{{$field.3}}</span>
+ </div>
+ <div class="clear"></div>