{% macro input(id, name='', value='', type='text', size='', readonly='', required='', placeholder='', title='', class='form-control', style='') -%} {% if name == '' %} {% set name = id %} {% endif %} {%- endmacro %} {%- macro checkbox(id, name='', checked='', title='', value='', desc='') -%} {% if name == '' %} {% set name = id %} {% endif %} {%- endmacro %} {%- macro select(id, values, name='', required='', first='', class='', selected='') -%} {% if name == '' %} {% set name = id %} {% endif %} {%- endmacro %}