scinote-web/app/views/reports/new/modal/_result_contents.html.erb
2016-02-12 16:52:43 +01:00

4 lines
No EOL
310 B
Text

<%= bootstrap_form_tag remote: true, url: result_contents_project_reports_path(project, format: :json), method: :post, html: { id: "add-contents-form" } do |f| %>
<%= hidden_field_tag :id, result.id %>
<%= render partial: "reports/new/modal/result_contents_inner.html.erb", locals: { form: f } %>
<% end %>