|
|
@@ -9,8 +9,9 @@ |
|
|
|
type="{{ @info.type }}" |
|
|
|
size="{{ @info.length }}" |
|
|
|
value="{{ @info.value }}" |
|
|
|
placeholder="{{ @info.description }}" |
|
|
|
{{ @info.required ? 'required' : '' }} /> |
|
|
|
<label for="{{ @name }}">{{ @info.description }}</label><br> |
|
|
|
<!--<label for="{{ @name }}">{{ @info.description }}</label>--><br> |
|
|
|
</true> |
|
|
|
</check> |
|
|
|
|
|
|
@@ -30,8 +31,10 @@ |
|
|
|
name="{{ @name }}" |
|
|
|
id="{{ @name }}" |
|
|
|
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> |
|
|
|
</check> |
|
|
|
|
|
|
@@ -52,6 +55,7 @@ |
|
|
|
|
|
|
|
<check if="{{ @info.type == 'radio' }}"> |
|
|
|
<true> |
|
|
|
<div class="radio-group {{ @name }}"> |
|
|
|
<repeat group="{{ @info.options }}" key="{{ @key }}" value="{{ @val }}"> |
|
|
|
<input |
|
|
|
type="radio" |
|
|
@@ -63,7 +67,7 @@ |
|
|
|
<label for="{{ sprintf('%s-%s',@name,@key) }}"> |
|
|
|
{{ @val }}</label> |
|
|
|
</repeat> |
|
|
|
<br> |
|
|
|
</div> |
|
|
|
</true> |
|
|
|
</check> |
|
|
|
|