Sha256: d73333fa4224f6e147c36a0ad341325b4e1d1981420567791d9ebe92488017e2

Contents?: true

Size: 1000 Bytes

Versions: 13

Compression:

Stored size: 1000 Bytes

Contents

<% render 'admin/shared/product_sub_menu' %>
<h2><%= ProductGroup.human_name %></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

13 entries across 13 versions & 2 rubygems

Version Path
spree-0.11.4 vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb
spree-0.11.3 vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb
spree_core-0.30.2 app/views/admin/product_groups/show.html.erb
spree_core-0.30.1 app/views/admin/product_groups/show.html.erb
spree_core-0.30.0 app/views/admin/product_groups/show.html.erb
spree-0.11.2 vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb
spree-0.11.1 vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb
spree_core-0.30.0.beta1 app/views/admin/product_groups/show.html.erb
spree-0.11.0 vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb
spree-0.10.2 vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb
spree-0.10.1 vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb
spree-0.10.0 vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb
spree-0.10.0.beta vendor/extensions/theme_default/app/views/admin/product_groups/show.html.erb