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") %>
|
2016-11-17 00:57:01 +08:00
|
|
|
<%= 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 %>
|