scinote-web/app/views/reports/new/modal/_save.html.erb

5 lines
569 B
Text
Raw Normal View History

2016-02-12 23:52:43 +08:00
<%= bootstrap_form_for [@project, @report], remote: true, url: @url, method: @method, html: { id: "save-report-form" } do |f| %>
<%= f.text_field :name, label: t("projects.reports.elements.modals.save_report.name"), placeholder: t("projects.reports.elements.modals.save_report.name_placeholder") %>
<%= f.smart_text_area :description, label: t("projects.reports.elements.modals.save_report.description"), placeholder: t("projects.reports.elements.modals.save_report.description_placeholder") %>
2016-02-12 23:52:43 +08:00
<%= hidden_field_tag :report_contents, @report_contents %>
<% end %>