chanche buttons style

pull/6827/head
Vadim Costin 10 years ago
parent ba0759b4e7
commit 17e61d8c8a
  1. 2
      app/views/documents/edit.html.erb
  2. 2
      app/views/documents/new.html.erb
  3. 3
      app/views/documents/show.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 %>

@ -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 %>

@ -62,7 +62,8 @@ See doc/COPYRIGHT.rdoc for more details.
<div class="box">
<p><%= render :partial => 'attachments/form' %></p>
</div>
<%= submit_tag l(:button_add) %>
<%= styled_button_tag l(:button_add), class: "-highlight -with-icon icon-yes" %>
<% end %>
<% end %>

Loading…
Cancel
Save