Using resource controller and namespace
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
<div class="yui-u first">
|
||||
<%= form_for(:digital, :url => { :controller => 'digitals', :action => 'create' }, :html => { :multipart => true }) do |f| %>
|
||||
<fieldset>
|
||||
<legend><%= Variant.model_name.human %> "<%= variant.options_text %>"</legend>
|
||||
<legend><%= Spree::Variant.model_name.human %> "<%= variant.options_text %>"</legend>
|
||||
|
||||
<%= f.field_container :current_file do %>
|
||||
<strong><%=t 'current_file' %>:</strong><br/>
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
<%= render :partial => 'admin/shared/product_sub_menu' %>
|
||||
<%= render :partial => 'admin/shared/product_tabs', :locals => {:current => "Digital Versions"} %>
|
||||
<%= render :partial => 'spree/admin/shared/product_sub_menu' %>
|
||||
<%= render :partial => 'spree/admin/shared/product_tabs', :locals => {:current => "Digital Versions"} %>
|
||||
|
||||
<% if @product.has_variants? %>
|
||||
|
||||
Reference in New Issue
Block a user