<%= f.text_field :name, label: t("protocols.steps.new.name"), placeholder: t("protocols.steps.new.name_placeholder") %>
<%= f.tiny_mce_editor(:description,
id: :step_description_textarea,
hide_label: false,
value: sanitize_input(@step.tinymce_render(:description)),
data: {
object_type: 'step',
object_id: @step.id,
highlightjs_path: asset_path('highlightjs-github-theme.css') } ) %>
<%= 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 %>
<%=t 'assets.drag_n_drop.label_html' %>
<%= 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 %>