diff --git a/app/views/documents/edit.html.erb b/app/views/documents/edit.html.erb index 16c30785fc..b386fb907e 100644 --- a/app/views/documents/edit.html.erb +++ b/app/views/documents/edit.html.erb @@ -34,5 +34,5 @@ See doc/COPYRIGHT.rdoc for more details. <%= labelled_tabular_form_for @document, url: project_document_path(@document) do |f| -%> <%= render partial: "documents/form", locals: { f: f } %> - <%= f.submit l(:button_save), class: "button -highlight" %> + <%= styled_button_tag l(:button_save), class: "-highlight -with-icon icon-yes" %> <% end %> diff --git a/app/views/documents/new.html.erb b/app/views/documents/new.html.erb index bbe95b80c6..6b27ba5572 100644 --- a/app/views/documents/new.html.erb +++ b/app/views/documents/new.html.erb @@ -34,7 +34,7 @@ See doc/COPYRIGHT.rdoc for more details. <%= labelled_tabular_form_for @document, url: project_documents_path(@project), html: { multipart: true } do |f| -%> <%= render :partial => 'documents/form', locals: { f: f } %> <%= render :partial => 'attachments/form' %> - <%= f.submit l(:button_create), class: "button -highlight" %> + <%= styled_button_tag l(:button_create), class: "-highlight -with-icon icon-yes" %> <% end %> diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb index 3b6a7cd358..4dc3350f27 100644 --- a/app/views/documents/show.html.erb +++ b/app/views/documents/show.html.erb @@ -62,7 +62,8 @@ See doc/COPYRIGHT.rdoc for more details.

<%= render :partial => 'attachments/form' %>

- <%= submit_tag l(:button_add) %> + <%= styled_button_tag l(:button_add), class: "-highlight -with-icon icon-yes" %> + <% end %> <% end %>