aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-17 15:12:21 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-17 15:12:21 +0100
commit8d89dde9086d857c1e3256db0a64946e87fcf83c (patch)
tree98c6eb7fa7ff83823e4d18cb0107550c870827ee /view/tpl
parentfab8209ebd4a052f8af5918de8603fd21a4bc7a6 (diff)
downloadvolse-hubzilla-8d89dde9086d857c1e3256db0a64946e87fcf83c.tar.gz
volse-hubzilla-8d89dde9086d857c1e3256db0a64946e87fcf83c.tar.bz2
volse-hubzilla-8d89dde9086d857c1e3256db0a64946e87fcf83c.zip
update templates
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/field_input.tpl2
-rwxr-xr-xview/tpl/field_password.tpl2
-rwxr-xr-xview/tpl/field_radio.tpl11
3 files changed, 9 insertions, 6 deletions
diff --git a/view/tpl/field_input.tpl b/view/tpl/field_input.tpl
index e4756c218..4dfa83699 100755
--- a/view/tpl/field_input.tpl
+++ b/view/tpl/field_input.tpl
@@ -1,6 +1,6 @@
<div class='form-group field input'>
<label for='id_{{$field.0}}' id='label_{{$field.0}}'>{{$field.1}}</label>
- <input class="form-control" name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}">{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}}
+ <input class="form-control" name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}"{{if $field.5}} {{$field.5}}{{/if}}>{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}}
<span id='help_{{$field.0}}' class='help-block'>{{$field.3}}</span>
<div class="clear"></div>
</div>
diff --git a/view/tpl/field_password.tpl b/view/tpl/field_password.tpl
index c9f4c5f6d..d19bc9414 100755
--- a/view/tpl/field_password.tpl
+++ b/view/tpl/field_password.tpl
@@ -1,5 +1,5 @@
<div class='form-group field password'>
<label for='id_{{$field.0}}'>{{$field.1}}</label>
- <input class="form-control" type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
+ <input class="form-control" type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}"{{if $field.5}} {{$field.5}}{{/if}}>{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}}
<span class='help-block'>{{$field.3}}</span>
</div>
diff --git a/view/tpl/field_radio.tpl b/view/tpl/field_radio.tpl
index a92324cad..6b5f52de6 100755
--- a/view/tpl/field_radio.tpl
+++ b/view/tpl/field_radio.tpl
@@ -1,5 +1,8 @@
- <div class='field radio'>
- <label class="mainlabel" for='id_{{$field.0}}_{{$field.2}}'>{{$field.1}}</label>
- <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked="true"{{/if}}>
- <span class='field_help'>{{$field.3}}</span>
+ <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>