% for item in data:
% if item['input_type'] == 'text' or item['input_type'] == 'number' or item['input_type'] == 'password':
% elif item['input_type'] == 'button':
% elif item['input_type'] == 'checkbox':
% elif item['input_type'] == 'select':
% endif
% endfor