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