Merge pull request #4586 from luisramos0/states_erb

Make states/new.js template depend on the states/new.haml template in OFN (not the states/new.erb in spree)
This commit is contained in:
Luis Ramos
2020-01-21 22:47:28 +00:00
committed by GitHub

View File

@@ -1,2 +1,2 @@
$("#new_state").html("<%= escape_javascript(render :template => 'spree/admin/states/new', :formats => [:html], :handlers => [:erb]) %>");
$("#new_state").html("<%= escape_javascript(render :template => 'spree/admin/states/new', :formats => [:html], :handlers => [:haml]) %>");
$("#new_state_link").parent().hide();