Created
March 21, 2017 11:54
-
-
Save bnymn/682ab1b996d6b2b7e02b8868d0e57529 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deface::Override.new(:virtual_path => 'spree/admin/users/_form', | |
:name => 'add_special_price_to_product_edit', | |
:insert_after => "[data-hook=admin_user_form_roles]", | |
:text => " | |
<div data-hook=\"admin_user_form_approve\" class=\"form-group\"> | |
<strong><%= Spree.t(:approve_user) %></strong> | |
<div class=\"checkbox\"> | |
<%= f.label :approved do %> | |
<%= f.check_box :approved %> | |
<%= Spree.t(:approved) %> | |
<% end %> | |
</div> | |
</div> | |
") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment