Sha256: a0ff7a1f7810d4901090785d0da3843b37927a2984d58f79d2ed647f2846529d
Contents?: true
Size: 1006 Bytes
Versions: 24
Compression:
Stored size: 1006 Bytes
Contents
<% render 'admin/shared/product_sub_menu' %> <h2><%= ProductGroup.model_name.human %></h2> <p> <%= ProductGroup.human_attribute_name(:name) %>: <%= @product_group.name %> </p> <p> <%= ProductGroup.human_attribute_name(:url) %>: <%= link_to @product_group.permalink, "/pg/#{@product_group.permalink}" %> </p> <h2><%= ProductGroup.human_attribute_name(:product_scopes) %>(<%= @product_group.product_scopes.count %>)</h2> <table class="product-scopes"> <thead> <tr> <th><%= ProductScope.human_attribute_name(:description) %></th> <th><%= ProductScope.human_attribute_name(:arguments) %></th> </tr> </thead> <tbody> <% @product_group.product_scopes.each do |product_scope| %> <tr <%= !product_scope.valid? ? "class='invalid'":'' %>> <td> <%= product_scope.to_sentence %> </td> <td> <%= product_scope.arguments.join(", ") %> </td> </tr> <% end %> </tbody> </table> <%= render :partial => 'preview.html' %>
Version data entries
24 entries across 24 versions & 6 rubygems