|
|
@@ -10,7 +10,13 @@ |
|
|
|
size="{{ array_key_exists('length',@info) ? @info.length : 20 }}" |
|
|
|
value="{{ array_key_exists('value',@info) ? @info.value : '' }}" |
|
|
|
placeholder="{{ @info.description }}" |
|
|
|
{{ (array_key_exists('required',@info) && @info.required ) ? 'required' : '' }} /> |
|
|
|
{{ (array_key_exists('required',@info) && @info.required ) ? 'required' : '' }} |
|
|
|
<check if="{{ isset(@info.maxlength) }}"> |
|
|
|
<true> |
|
|
|
maxlength="{{ @info.maxlength }}" |
|
|
|
</true> |
|
|
|
</check> |
|
|
|
/> |
|
|
|
<!--<label for="{{ @name }}">{{ @info.description }}</label>--><br> |
|
|
|
</true> |
|
|
|
</check> |
|
|
@@ -32,7 +38,13 @@ |
|
|
|
id="{{ @name }}" |
|
|
|
cols="{{ @info.cols }}" |
|
|
|
rows="{{ @info.rows }}" |
|
|
|
placeholder="{{ @info.description }}">{{ @info.value }}</textarea> |
|
|
|
placeholder="{{ @info.description }}" |
|
|
|
<check if="{{ isset(@info.maxlength) }}"> |
|
|
|
<true> |
|
|
|
maxlength="{{ @info.maxlength }}" |
|
|
|
</true> |
|
|
|
</check> |
|
|
|
>{{ @info.value }}</textarea> |
|
|
|
<!--<label for="{{ @name }}">{{ @info.description }}</label>--> |
|
|
|
<br> |
|
|
|
</true> |