X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c24c2e481cc6d27e76274ed4e32668a4690a7788..a90302aecf579ca29fa5ea0b1e9d03f81b8bbde4:/app/views/redactions/edit.html.erb diff --git a/app/views/redactions/edit.html.erb b/app/views/redactions/edit.html.erb index aff2af919..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 %>