#8374: Using sub-templates for input field

This commit is contained in:
Christian Wiwie 2020-03-15 21:19:42 +01:00
parent 1360efc930
commit 4d3aed3095
2 changed files with 3 additions and 6 deletions

View file

@ -1,9 +1,6 @@
<div class="settings-block">
<h3 class="settings-heading">{{$title}}</h3>
<div class='field noedit'>
<label>{{$label}}</label>
<input id="showmore_dyn_height" name="showmore_dyn_height" value="{{$limitHeight}}" />
</div>
{{include file="field_input.tpl" field=$limitHeight}}
<div class="settings-submit-wrapper">
<input type="submit" value="{{$submit}}" class="settings-submit" name="showmore_dyn-submit" />