X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cf0b6403aaf6cee0e1c1c6241c712b5ee0d1918f..f7c2d56df7a90a65bea43e8e9a8336b42cc2b0d0:/app/views/redactions/edit.html.erb diff --git a/app/views/redactions/edit.html.erb b/app/views/redactions/edit.html.erb index cef618859..e9b5beaac 100644 --- a/app/views/redactions/edit.html.erb +++ b/app/views/redactions/edit.html.erb @@ -4,18 +4,8 @@

<%= t ".heading" %>

<% end %> -<%= form_for(@redaction) do |f| %> - <%= f.error_messages %> - -

- <%= f.label :title, t(".title") %>
- <%= f.text_field :title %> -

-

- <%= f.label :description, t(".description") %>
- <%= richtext_area :redaction, :description, :cols => 80, :rows => 20, :format => @redaction.description_format %> -

-

- <%= f.submit %> -

+<%= bootstrap_form_for(@redaction) do |f| %> + <%= f.text_field :title %> + <%= f.richtext_field :description, :cols => 80, :rows => 20, :format => @redaction.description_format %> + <%= f.primary %> <% end %>