7 lines
313 B
Text
7 lines
313 B
Text
<%= bootstrap_form_with(model: report.persisted? ? report : [@project, report]) do |form| %>
|
|
<%= form.collection_select :project_id, Project.all, :id, :name, include_blank: true %>
|
|
<%= form.text_field :name %>
|
|
<%= form.text_field :url %>
|
|
<%= form.rich_text_area :comment %>
|
|
<%= form.submit %>
|
|
<% end %>
|