Sha256: b8cb2874485c94208e513f71d3748a0cbfe8cf94a77fc5f52da8e5a12179b4e3

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

<%= render :partial => 'admin/shared/product_sub_menu' %>

<div class='toolbar'>
  <ul class='actions'>
    <li id="new_prop_link">
      <%= button_link_to_remote t("new_property"),  {
                         :url => new_admin_property_url, 
                         :method => :get,
                         :update => "properties",
                         :before => "Element.hide('new_prop_link');Element.show('busy_indicator')", 
                         :complete => "Element.hide('busy_indicator')"}, :icon => 'add' %>
    </li>
  </ul>
  <br class='clear' />
</div>

<h1><%= t("properties") %></h1>

<div id="properties"></div>

<%= image_tag "spinner.gif", :plugin=>"spree", :style => "display:none", :id => 'busy_indicator' %>

<table class="index">
	<thead>
		<tr>
			<th><%= t("name") %></th>
			<th><%= t("presentation") %></th>
			<th></th>
		</tr>
	</thead>
	<tbody>
    <% @properties.each do |property| %>
      <tr id="<%= dom_id property %>">
        <td><%= property.name %></td>
        <td><%= property.presentation %></td>
		    <td class="actions">
		      <%= link_to_edit(property) %>
		      &nbsp;
		      <%= link_to_delete(property) %>
		    </td>        
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree-enriquez-0.9.4 app/views/admin/properties/index.html.erb
spree-0.9.4 app/views/admin/properties/index.html.erb
spree-0.9.3 app/views/admin/properties/index.html.erb
spree-0.9.2 app/views/admin/properties/index.html.erb
spree-0.9.1 app/views/admin/properties/index.html.erb
spree-0.9.0 app/views/admin/properties/index.html.erb