{%- comment -%} Form: type text @param :field [Integer] El campo del formulario @param :text_class [String] Las clases del componente {%- endcomment -%} {%- assign name = include.field[0] -%} {%- assign id = include.field[1].id | default: name -%} {%- assign label = include.field[1].label[site.locale] -%} {%- assign help = include.field[1].help[site.locale] -%} {%- assign autocomplete = include.field[1].autocomplete -%}
{%- if .help -%} {{ help }} {%- endif -%}