Sha256: 50be21bfcc44b2e4225ddbd8cc8043129904967b63508bbbc4365ca97852eab8
Contents?: true
Size: 1.57 KB
Versions: 4
Compression:
Stored size: 1.57 KB
Contents
<%= render :partial => 'shared/product_sub_menu' %> <h1><%= t("Editing Product")%></h1> <%= render :partial => 'shared/product_tabs', :locals => {:current => "Product Properties"} %> <%= error_messages_for :product %> <% form_for(:product, :url => admin_product_url(@product), :html => { :method => :put }) do |f| %> <table class="basic-table"> <thead> <tr> <th><%= t("Property") %></th> <th><%= t("Value") %></th> <th><%= t("Action") %></th> </tr> </thead> <tbody id="product_properties"> <%= f.render_associated_form(@product.product_properties) %> <tr id="none"> <td colspan="3"><%= @product.product_properties.empty? ? "#{t("None")}." : "" %></td> </tr> </tbody> </table> <input type="hidden" name="clear_product_properties" value="true"> <%= f.add_associated_link(t("Add Product Properties"), @product.product_properties.build, {:onclick => "Element.hide('none');"}) %> <span id="new_ptype_link"> <%= link_to_remote t("Select From Prototype"), :url => available_admin_prototypes_url, :method => :get, :update => "prototypes", :before => "Element.hide('new_ptype_link');Element.show('busy_indicator')", :complete => "Element.hide('busy_indicator')" %> </span> <div id="prototypes"></div> <%= image_tag "spinner.gif", :plugin=>"spree", :style => "display:none", :id => 'busy_indicator' %> <br/> <%= render :partial => 'shared/edit_resource_links' %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems