<%= f.text_field :name, label: t("protocols.steps.new.name"), placeholder: t("protocols.steps.new.name_placeholder") %> <%= quill_editor nil, { name: 'step[description]', value: @step.description } %>
<%= f.nested_fields_for :checklists do |ff| %> <%= render "form_checklists.html.erb", ff: ff %> <% end %> <%= f.add_nested_fields_link :checklists do %> <%= t("protocols.steps.new.add_checklist") %> <% end %>
<%= f.nested_fields_for :assets do |ff| %> <%= render "form_assets.html.erb", ff: ff %> <% end %> <%= f.add_nested_fields_link :assets do %> <%= t("protocols.steps.new.add_asset") %> <% end %>
<%= f.nested_fields_for :tables do |ff| %> <%= render "form_tables.html.erb", ff: ff %> <% end %> <%= f.add_nested_fields_link :tables, id: "add-table" do %> <%= t("protocols.steps.new.add_table") %> <% end %>