Sha256: be13eb53de4e1ecd34494841f3b9fdd55a60de1a9f62794d1897db0e2ca30b16
Contents?: true
Size: 514 Bytes
Versions: 6
Compression:
Stored size: 514 Bytes
Contents
<% # Template for RestfulController (index) # Requires resources model_name if resources.length > 0 %> <h1> <%= t('ui.listing', :model => model_name, :default => 'Listing %{model}') %></h1> <%= render '/shared/error_explanation' %> <%= render '/rows/list', :resources => resources %> <% else %> <h1> <%= t('ui.empty_list', :model => model_name, :default => 'List %{model} is empty') %></h1> <% end %> <br/> <%= link_to t('ui.create', :default => 'Create'), url_for(:action => :new) %>
Version data entries
6 entries across 6 versions & 1 rubygems