Skip to content

Commit

Permalink
Update backend New Image link for consistency
Browse files Browse the repository at this point in the history
Make consistent with visual style of other backend views
  • Loading branch information
brchristian committed Oct 5, 2020
1 parent a17109b commit 005fbaf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/app/views/spree/admin/images/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

<% content_for :page_actions do %>
<% if can?(:create, Spree::Image) %>
<li><%= link_to_with_icon('plus', t('spree.new_image'), new_admin_product_image_url(@product), id: 'new_image_link', class: 'btn btn-primary') %></li>
<li id="new_image_link">
<%= link_to t('spree.new_image'), new_admin_product_image_url(@product), class: 'btn btn-primary' %>
</li>
<% end %>
<% end %>

Expand Down

0 comments on commit 005fbaf

Please sign in to comment.