X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7f3b86e30b09dc9d21cabf97248edbde08b12d4d..6c4b028232f5ad687c0def013b8de6a2b4013b4f:/app/views/shared/_richtext_field.html.erb?ds=sidebyside diff --git a/app/views/shared/_richtext_field.html.erb b/app/views/shared/_richtext_field.html.erb index cfe6f9827..5b84fd6ed 100644 --- a/app/views/shared/_richtext_field.html.erb +++ b/app/views/shared/_richtext_field.html.erb @@ -1,15 +1,29 @@ -
-
- <%= builder.text_area(attribute, options.merge(:wrapper => false, "data-preview-url" => preview_url(:type => type))) %> -
-
-
-
-
- <%= render :partial => "shared/#{type}_help" %> - <%= submit_tag t(".edit"), :id => "#{id}_doedit", :class => "richtext_doedit btn btn-primary", :disabled => true %> - <%= submit_tag t(".preview"), :id => "#{id}_dopreview", :class => "richtext_dopreview btn btn-primary" %> +
+ +
+
+
+ <%= builder.text_area(attribute, options.merge(:wrapper => false, "data-preview-url" => preview_url(:type => type))) %> +
+
+
+
+
+ <%= render :partial => "shared/#{type}_help" %> +
+
+