aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-05-15 08:28:19 +0000
committerMario <mario@mariovavti.com>2024-05-15 08:28:19 +0000
commita10402a7883efd4886ad17c8133c10237f443181 (patch)
treeeca3f5a3ba34d40d1e7d0766a59d3494c9db47ad /view
parent2145207ad2feedde9a1fe73807ef6365664aad79 (diff)
parent5da0cc138f4330fd07e9c117b3f4261dc1bcbc19 (diff)
downloadvolse-hubzilla-a10402a7883efd4886ad17c8133c10237f443181.tar.gz
volse-hubzilla-a10402a7883efd4886ad17c8133c10237f443181.tar.bz2
volse-hubzilla-a10402a7883efd4886ad17c8133c10237f443181.zip
Merge branch 'refactor-module-rbmark' into 'dev'
Refactor and cleanup Rbmark module + add tests See merge request hubzilla/core!2126
Diffstat (limited to 'view')
-rw-r--r--view/tpl/field_input.tpl17
1 files changed, 14 insertions, 3 deletions
diff --git a/view/tpl/field_input.tpl b/view/tpl/field_input.tpl
index 2f9f83ac5..1b548221f 100644
--- a/view/tpl/field_input.tpl
+++ b/view/tpl/field_input.tpl
@@ -1,7 +1,18 @@
<div id="id_{{$field.0}}_wrapper" class="mb-3">
- <label for="id_{{$field.0}}" id="label_{{$field.0}}">{{$field.1}}{{if $field.4}}<sup class="required zuiqmid"> {{$field.4}}</sup>{{/if}}</label>
- <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}" type="text" value="{{$field.2}}"{{if $field.5}} {{$field.5}}{{/if}}>
- <small id="help_{{$field.0}}" class="form-text text-muted">{{$field.3}}</small>
+ <label for="id_{{$field.0}}" id="label_{{$field.0}}">
+ {{$field.1}}{{if $field.4}}<sup class="required zuiqmid"> {{$field.4}}</sup>{{/if}}
+ </label>
+ <input
+ class="form-control"
+ name="{{$field.0}}"
+ id="id_{{$field.0}}"
+ type="text"
+ value="{{$field.2|escape:'html':'UTF-8':FALSE}}"
+ {{if $field.5}}{{$field.5}}{{/if}}
+ >
+ <small id="help_{{$field.0}}" class="form-text text-muted">
+ {{$field.3}}
+ </small>
</div>
{{*
COMMENTS for this template: