Files
nairobi/app/views/topics/_form.html.erb
Javi Martín 932da00f8d Update new topic form layout
The same way we did with debates and proposals, we move recommendations
before the form.
2021-07-13 15:27:21 +02:00

10 lines
280 B
Plaintext

<%= form_for([@community, @topic]) do |f| %>
<%= render "shared/errors", resource: @topic %>
<%= f.text_field :title %>
<%= f.text_area :description, rows: "5" %>
<%= f.submit(class: "button", value: t("community.topic.form.#{action_name}.submit_button")) %>
<% end %>