]> git.mxchange.org Git - friendica.git/commitdiff
Add numeric field_input to frio
authornupplaPhil <admin@philipp.info>
Thu, 5 Dec 2019 21:56:00 +0000 (22:56 +0100)
committernupplaPhil <admin@philipp.info>
Thu, 5 Dec 2019 21:56:00 +0000 (22:56 +0100)
view/theme/frio/templates/field_input.tpl

index 838eaf6e56ca90d60ca161a8166a568ca53306a1..d5b75119b763be85d456c9d7cae125937aa54f47 100644 (file)
@@ -3,7 +3,7 @@
        {{if !isset($label) || $label != false }}
                <label for="id_{{$field.0}}" id="label_{{$field.0}}">{{$field.1 nofilter}}{{if $field.4}}<span class="required"> {{$field.4}}</span>{{/if}}</label>
        {{/if}}
-               <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}"{{if $field.6 eq "email"}} type="email"{{elseif $field.6 eq "url"}} type="url"{{else}} type="text"{{/if}} value="{{$field.2 nofilter}}"{{if $field.4 eq "required"}} required{{/if}}{{if $field.5 eq "autofocus"}} autofocus{{elseif $field.5}} {{$field.5 nofilter}}{{/if}} aria-describedby="{{$field.0}}_tip">
+               <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}"{{if $field.6}} type="{{$field.6}}"{{else}} type="text"{{/if}} value="{{$field.2 nofilter}}"{{if $field.4 eq "required"}} required{{/if}}{{if $field.5 eq "autofocus"}} autofocus{{elseif $field.5}} {{$field.5 nofilter}}{{/if}} aria-describedby="{{$field.0}}_tip">
        {{if $field.3}}
                <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3 nofilter}}</span>
        {{/if}}