Sha256: c11052d778606b0bbd60ec0a709a11d103c1225202c26b7d76bb330f49838862

Contents?: true

Size: 1.18 KB

Versions: 7

Compression:

Stored size: 1.18 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>
        <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

7 entries across 7 versions & 2 rubygems

Version Path
kdmny-spree-0.0.1 app/views/admin/properties/index.html.erb
spree-0.8.4 app/views/admin/properties/index.html.erb
spree-0.8.5 app/views/admin/properties/index.html.erb
spree-0.8.0 app/views/admin/properties/index.html.erb
spree-0.8.1 app/views/admin/properties/index.html.erb
spree-0.8.2 app/views/admin/properties/index.html.erb
spree-0.8.3 app/views/admin/properties/index.html.erb