2020-03-30 01:53:28 +02:00
|
|
|
<label for={{field.id}} class="field-label">
|
|
|
|
{{{field.label}}}
|
2018-04-05 07:49:39 +02:00
|
|
|
</label>
|
2018-01-30 14:19:32 +01:00
|
|
|
|
2018-04-05 07:49:39 +02:00
|
|
|
{{#if field.image}}
|
|
|
|
<div class="field-image"><img src="{{field.image}}"></div>
|
|
|
|
{{/if}}
|
2018-03-05 02:52:15 +01:00
|
|
|
|
2018-04-05 07:49:39 +02:00
|
|
|
{{#if field.description}}
|
|
|
|
<div class='field-description'>{{cookedDescription}}</div>
|
|
|
|
{{/if}}
|
2018-01-30 14:19:32 +01:00
|
|
|
|
|
|
|
{{#if inputComponentName}}
|
|
|
|
<div class='input-area'>
|
|
|
|
{{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-01-12 11:46:24 +01:00
|
|
|
{{#if field.char_counter}}
|
|
|
|
{{#if textType}}
|
2021-01-19 07:51:37 +01:00
|
|
|
{{char-counter field.value field.max_length}}
|
2021-01-12 11:46:24 +01:00
|
|
|
{{/if}}
|
2021-01-08 07:50:57 +01:00
|
|
|
{{/if}}
|
|
|
|
|
2018-01-30 14:19:32 +01:00
|
|
|
{{#if field.errorDescription}}
|
|
|
|
<div class='field-error-description'>{{{field.errorDescription}}}</div>
|
|
|
|
{{/if}}
|