Sha256: 790360f3bc146d474c697e5421d73b5ba951794fd47a1482e75d12b731166395
Contents?: true
Size: 1.91 KB
Versions: 3
Compression:
Stored size: 1.91 KB
Contents
.block .secondary-navigation %ul.wat-cf %li.first.active= link_to "#{t("web-app-theme.list", :default => "List")}", <%= controller_routing_path %>_path %li= link_to "#{t("web-app-theme.new", :default => "New")}", new_<%= singular_controller_routing_path %>_path .content %h2.title #{ t("web-app-theme.all", :default => "All") } <%= plural_model_name %> .inner %table.table %tr %th.first ID <% unless columns.empty? -%> %th= t("activerecord.attributes.<%= singular_controller_routing_path %>.<%= columns.first.name %>", :default => t("activerecord.labels.<%= columns.first.name %>", :default => "<%= columns.first.name.capitalize %>")) <% end -%> %th= t("web-app-theme.created_at", :default => "Created at") %th.last - @<%= plural_resource_name %>.each do |<%= resource_name %>| %tr{:class => cycle("odd", "even")} %td= <%= resource_name %>.id <% unless columns.empty? -%> %td= link_to <%= resource_name %>.<%= columns.first.name %>, <%= singular_controller_routing_path %>_path(<%= resource_name %>) <% end -%> %td= <%= resource_name %>.created_at %td.last = link_to t("web-app-theme.show", :default => "Show"), <%= singular_controller_routing_path %>_path(<%= resource_name %>) | = link_to t("web-app-theme.edit", :default => "Edit"), edit_<%= singular_controller_routing_path %>_path(<%= resource_name %>) | = link_to t("web-app-theme.delete", :default => "Delete"), <%= singular_controller_routing_path %>_path(<%= resource_name %>), :method => :delete, :confirm => "#{t("web-app-theme.confirm", :default => "Are you sure?")}" .actions-bar.wat-cf .actions <% if options[:will_paginate] -%> = will_paginate @<%= plural_resource_name %> <% end -%> - content_for :sidebar, render(:partial => 'sidebar')
Version data entries
3 entries across 3 versions & 2 rubygems