Sha256: a87c20707f61b299d6b9664af301794564fbec943a373494497b41f8b5aeee00

Contents?: true

Size: 1.54 KB

Versions: 3

Compression:

Stored size: 1.54 KB

Contents

<section>
  <nav class="secondary">
    <ul class="clearfix">
      <li class="first"><%%= link_to "#{t("app-themer.list", :default => "List")}", <%= controller_routing_path %>_path  %></li>
      <li><%%= link_to "#{t("app-themer.new", :default => "New")}", new_<%= singular_controller_routing_path %>_path %></li>
      <li class="active"><%%= link_to "#{t("app-themer.show", :default => "Show")}", <%= singular_controller_routing_path %>_path %></li>
    </ul>
  </nav>
  <div class="content">
    <% columns.each do |column| %>
      <p>
        <b><%%= t("activerecord.attributes.<%= singular_controller_routing_path %>.<%= column.name %>", :default => t("activerecord.labels.<%= column.name %>", :default => "<%= column.name.humanize %>")) %>:</b>
        <%%= @<%= resource_name %>.<%= column.name %> %>
      </p>
    <%- end -%>
    <div class="clearfix">
      <%%= link_to image_tag("app-themer/icons/application_edit.png", :alt => "#{t("app-themer.edit", :default=> "Edit")}") + " " + t("app-themer.edit", :default=> "Edit"), edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => "button" %>
      <%%= link_to image_tag("app-themer/icons/cross.png", :alt => "#{t("app-themer.delete", :default=> "Delete")}") + " " + t("app-themer.delete", :default => "Delete"), <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :class => "button", :confirm => "#{t("app-themer.confirm", :default => "Are you sure?")}" %>
    </div>
  </div>
</section>

<%% content_for :sidebar, render(:partial => 'sidebar') -%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
app-themer-0.4.6 lib/generators/app_themer/views/templates/show.html.erb
app-themer-0.4.1 lib/generators/app_themer/views/templates/show.html.erb
app-themer-0.4.0 lib/generators/app_themer/views/templates/show.html.erb