a11yist/app/views/reports/_form.html.erb
david 8b4ffb83ec
Some checks failed
/ Run tests (push) Failing after 2m3s
/ Run system tests (push) Failing after 2m17s
/ Build, push and deploy image (push) Has been skipped
Added projects
2024-11-24 22:08:36 +01:00

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 %>