]> git.mxchange.org Git - friendica.git/commitdiff
frio: some template clean up
authorrabuzarus <>
Sun, 12 Jun 2016 18:09:02 +0000 (20:09 +0200)
committerrabuzarus <>
Sun, 12 Jun 2016 18:09:02 +0000 (20:09 +0200)
view/theme/frio/templates/field_openid.tpl
view/theme/frio/templates/field_password.tpl
view/theme/frio/templates/field_password_1.tpl [deleted file]

index 00520b06a7305c4e4f0fd6a46151e4d2ddc701aa..8081f9cf110f2a374b2b3d73c1ca478925429dec 100644 (file)
@@ -4,4 +4,4 @@
        <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}" type="text" value="{{$field.2|escape:'html'}}" aria-describedby="{{$field.0}}_tip">
        <span id="{{$field.0}}_tip" class="help-block" role="tooltip">{{$field.3}}</span>
        <div class="clear"></div>
-</div>
\ No newline at end of file
+</div>
index 87b689bd53057a9f43a73b7a2fa210241cbc98d7..31defaf33c31470deb4a9cf83d1ab3cc0a4d6350 100644 (file)
@@ -1,6 +1,7 @@
 
-<div id="wrapper_{{$field.0}}" 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|escape:'html'}}"{{if $field.5}} {{$field.5}}{{/if}}>{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}}
+<div id="id_{{$field.0}}_wrapper" class="form-group field input password">
+       <label for="id_{{$field.0}}" id="label_{{$field.0}}">{{$field.1}}{{if $field.4}}<span class="required"> {{$field.4}}</span>{{/if}}</label>
+       <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}" type="password" value="{{$field.2|escape:'html'}}" {{if $field.4 eq "required"}} required{{/if}}{{if $field.5 eq "autofocus"}} autofocus{{elseif $field.5}} {{$field.5}}{{/if}} aria-describedby="{{$field.0}}_tip">
        <span id="{{$field.0}}_tip" class="help-block" role="tooltip">{{$field.3}}</span>
+       <div class="clear"></div>
 </div>
diff --git a/view/theme/frio/templates/field_password_1.tpl b/view/theme/frio/templates/field_password_1.tpl
deleted file mode 100644 (file)
index 6bf16da..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-
-<div id="id_{{$field.0}}_wrapper" class="form-group field input password">
-       <label for="id_{{$field.0}}" id="label_{{$field.0}}">{{$field.1}}{{if $field.4}}<span class="required"> {{$field.4}}</span>{{/if}}</label>
-       <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}" type="text" value="{{$field.2|escape:'html'}}" {{if $field.4 eq "required"}} required{{/if}}{{if $field.5 eq "autofocus"}} autofocus{{elseif $field.5}} {{$field.5}}{{/if}} aria-describedby="{{$field.0}}_tip">
-       <span id="{{$field.0}}_tip" class="help-block" role="tooltip">{{$field.3}}</span>
-       <div class="clear"></div>
-</div>
\ No newline at end of file