X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cbea796ef412840af9a3ec2fd26bf08657fc4cd3..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 @@
- <%= 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 %>