2018-01-30 14:19:32 +01:00
|
|
|
<label for={{field.id}}>
|
|
|
|
{{#if field.label}}
|
|
|
|
<span class='label-value'>{{field.label}}</span>
|
|
|
|
{{/if}}
|
|
|
|
|
2018-03-05 02:52:15 +01:00
|
|
|
{{#if field.image}}
|
|
|
|
<div class="field-image"><img src="{{field.image}}"></div>
|
|
|
|
{{/if}}
|
|
|
|
|
2018-01-30 14:19:32 +01:00
|
|
|
{{#if field.description}}
|
2018-03-05 02:52:15 +01:00
|
|
|
<div class='field-description'>{{cookedDescription}}</div>
|
2018-01-30 14:19:32 +01:00
|
|
|
{{/if}}
|
|
|
|
</label>
|
|
|
|
|
|
|
|
{{#if inputComponentName}}
|
|
|
|
<div class='input-area'>
|
|
|
|
{{component inputComponentName field=field step=step fieldClass=fieldClass wizard=wizard}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if field.errorDescription}}
|
|
|
|
<div class='field-error-description'>{{{field.errorDescription}}}</div>
|
|
|
|
{{/if}}
|