= render "workflow_steps/notes", f: f
<%- attributes.each do |attribute| -%>
  <%- if %w[window_from window_to].include? attribute.name -%>
.form-inputs= f.optional_input :<%= attribute.name%>, collection: hours_for_select, include_blank: '--'
  <%- elsif %w[integer float].include? attribute.type -%>
.form-inputs= f.optional_input :<%= attribute.name%>, as: :<%= attribute.type %>
  <%- elsif attribute.type == 'date' -%>
.form-inputs= f.optional_input :<%= attribute.name%>, as: :string, input_html: {class: 'datepicker'}
  <%- else -%>
.form-inputs= f.optional_<%= attribute.form_type%> :<%= attribute.name %>
  <%- end -%>
<%- end -%>

