<% if(organizationsCustomParamsData.get('param_type') === 'text') { %> Text field <% } else if(organizationsCustomParamsData.get('param_type') === 'date') { %> Date field <% } else if(organizationsCustomParamsData.get('param_type') === 'checkbox') { %> Checkbox field <% } else if(organizationsCustomParamsData.get('param_type') === 'select') { %> Dropdown field <% } %> <% if(organizationsCustomParamsData.get('param_type') == 'checkbox'){ %> <% } else if(organizationsCustomParamsData.get('param_type') === 'select') { %> <% }%>