|
|
|
|
|
|
|
|
type="{{ @info.type }}" |
|
|
type="{{ @info.type }}" |
|
|
size="{{ @info.length }}" |
|
|
size="{{ @info.length }}" |
|
|
value="{{ @info.value }}" |
|
|
value="{{ @info.value }}" |
|
|
|
|
|
placeholder="{{ @info.description }}" |
|
|
{{ @info.required ? 'required' : '' }} /> |
|
|
{{ @info.required ? 'required' : '' }} /> |
|
|
<label for="{{ @name }}">{{ @info.description }}</label><br> |
|
|
|
|
|
|
|
|
<!--<label for="{{ @name }}">{{ @info.description }}</label>--><br> |
|
|
</true> |
|
|
</true> |
|
|
</check> |
|
|
</check> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
name="{{ @name }}" |
|
|
name="{{ @name }}" |
|
|
id="{{ @name }}" |
|
|
id="{{ @name }}" |
|
|
cols="{{ @info.cols }}" |
|
|
cols="{{ @info.cols }}" |
|
|
rows="{{ @info.rows }}" >{{ @info.value }}</textarea> |
|
|
|
|
|
<label for="{{ @name }}">{{ @info.description }}</label><br> |
|
|
|
|
|
|
|
|
rows="{{ @info.rows }}" |
|
|
|
|
|
placeholder="{{ @info.description }}">{{ @info.value }}</textarea> |
|
|
|
|
|
<!--<label for="{{ @name }}">{{ @info.description }}</label>--> |
|
|
|
|
|
<br> |
|
|
</true> |
|
|
</true> |
|
|
</check> |
|
|
</check> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<check if="{{ @info.type == 'radio' }}"> |
|
|
<check if="{{ @info.type == 'radio' }}"> |
|
|
<true> |
|
|
<true> |
|
|
|
|
|
<div class="radio-group {{ @name }}"> |
|
|
<repeat group="{{ @info.options }}" key="{{ @key }}" value="{{ @val }}"> |
|
|
<repeat group="{{ @info.options }}" key="{{ @key }}" value="{{ @val }}"> |
|
|
<input |
|
|
<input |
|
|
type="radio" |
|
|
type="radio" |
|
|
|
|
|
|
|
|
<label for="{{ sprintf('%s-%s',@name,@key) }}"> |
|
|
<label for="{{ sprintf('%s-%s',@name,@key) }}"> |
|
|
{{ @val }}</label> |
|
|
{{ @val }}</label> |
|
|
</repeat> |
|
|
</repeat> |
|
|
<br> |
|
|
|
|
|
|
|
|
</div> |
|
|
</true> |
|
|
</true> |
|
|
</check> |
|
|
</check> |
|
|
|
|
|
|