{# == Form Helpers == Macros to create form input, select, radio, checkbox, textarea compatible to BS3 ::Input: @value {{ f.tag('input', 'name', value='John', data={"k":"v", "k":"v"}) }} -> {{ f.tag('input', 'fileSelect', type='file') }} -> ::Hidden: @value {{ f.tag('hidden', 'name', value='John') }} -> ::Textarea: @value {{ f.tag('textarea', 'feedback', value='Irving') }} -> :: Button: @type, @name is the value of the form {{ f.tag('button', 'Save', type='submit')}} -> :: Checkbox: @options=[[k, v], [k, v]], @checked=[], @inline=bool {{ f.tag('checkbox', 'test', options=[[1,'Male'], [2,'Female']], checked=[1]) }}