Sha256: 4ee56331d8da052515d5d9c5bfa6859b9d7300ff584cd6f0661ee0a8f0618334

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

<div class="block">
  <div class="secondary-navigation">
    <ul class="wat-cf">
      <li class="first"><%%= link_to "#{t("activoate.list", :default => "List")}", <%= controller_routing_path %>_path  %></li>
      <li><%%= link_to "#{t("activoate.new", :default => "New")}", new_<%= singular_controller_routing_path %>_path %></li>
      <li class="active"><%%= link_to "#{t("activoate.show", :default => "Show")}", <%= singular_controller_routing_path %>_path %></li>
    </ul>
  </div>
  <div class="content">
    <h2 class="title"><%%= t("activoate.show", :default => "Show")%>  <%= model_name %></h2>
		<div class="inner">
      <% 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="wat-cf">
				<%%= edit_button edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>) %>
				<%%= delete_button <%= singular_controller_routing_path %>_path(@<%= resource_name %>) %>
      </div>
    </div>
  </div>
</div>

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activoate-0.7.9 lib/generators/activoate/activoated/templates/view_show.html.erb