Orbit/app/views/admin/asset_categories/index.html.erb

42 lines
824 B
Plaintext
Raw Normal View History

2012-05-16 03:07:11 +00:00
<%= flash_messages %>
<div id="filter" class="subnav">
<div class="filters">
<div id="sort_headers" class="table-label">
<table class="table main-list">
<thead>
<tr>
2012-09-12 11:12:50 +00:00
<th class="span2"><%= t(:key) %></th>
2012-05-16 03:07:11 +00:00
<% @site_valid_locales.each do |locale| %>
<th class="span2"><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></th>
<% end %>
</tr>
</thead>
</table>
</div>
</div>
</div>
<table id="asset_categories" class="table main-list">
<thead>
<tr>
<th class="span2"></th>
<% @site_valid_locales.each do |locale| %>
<th class="span2"></th>
<% end %>
</tr>
</thead>
<tbody>
<%= render :partial => 'asset_category', :collection => @asset_categories %>
</tbody>
</table>
<div id="form"><%= render :partial => "form" %></div>