app/views/spree/admin/adjustments/index.html.erb in solidus_backend-2.5.2 vs app/views/spree/admin/adjustments/index.html.erb in solidus_backend-2.6.0.rc1

- old
+ new

@@ -3,20 +3,20 @@ <% admin_breadcrumb(plural_resource_name(Spree::Adjustment)) %> <% content_for :page_actions do %> <% if can? :create, Spree::Adjustment %> <li> - <%= button_link_to t('spree.new_adjustment'), new_admin_order_adjustment_url(@order) %> + <%= link_to t('spree.new_adjustment'), new_admin_order_adjustment_url(@order), class: 'btn btn-primary' %> </li> <% end %> <% end %> <%= render partial: 'adjustments_table' %> <% if @order.can_add_coupon? %> <div data-hook="adjustments_new_coupon_code"> <%= text_field_tag "coupon_code", "", placeholder: t('spree.coupon_code') %> - <%= button t('spree.add_coupon_code'), nil, 'submit', id: "add_coupon_code" %> + <%= button_tag t('spree.add_coupon_code'), id: "add_coupon_code", class: 'btn btn-primary' %> </div> <% end %> <%= javascript_tag do -%> var order_number = '<%= @order.number %>'; <% end -%>