Sha256: 4f07c0348f7fabd32d8297eb2cf15aa4746a3b6c6142c197083c8f53509e0cc9
Contents?: true
Size: 1.57 KB
Versions: 2
Compression:
Stored size: 1.57 KB
Contents
<div class="block"> <div class="secondary-navigation"> <ul class="wat-cf"> <li class="first"><%%= link_to "#{t("web-app-theme.list", :default => "List")}", <%= controller_routing_path %>_path %></li> <li><%%= link_to "#{t("web-app-theme.new", :default => "New")}", new_<%= singular_controller_routing_path %>_path %></li> <li class="active"><%%= link_to "#{t("web-app-theme.show", :default => "Show")}", <%= singular_controller_routing_path %>_path %></li> </ul> </div> <div class="content"> <h2 class="title"><%%= t("web-app-theme.show", :default => "Show")%> <%= model_name %></h2> <div class="inner"> <%%= semantic_attributes_for @user do |attr| %> <%%= attr.attributes do %> <% columns.each do |column| %> <%%= attr.attribute :<%= column.name %> %> <%- end %> <%% end %> <%% end %> <div class="wat-cf"> <%%= link_to image_tag("activo-2/icons/application_edit.png", :alt => "#{t("web-app-theme.edit", :default=> "Edit")}") + " " + t("web-app-theme.edit", :default=> "Edit"), edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => "button" %> <%%= link_to image_tag("activo-2/icons/cross.png", :alt => "#{t("web-app-theme.delete", :default=> "Delete")}") + " " + t("web-app-theme.delete", :default => "Delete"), <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :class => "button", :confirm => "#{t("web-app-theme.confirm", :default => "Are you sure?")}" %> </div> </div> </div> </div> <%% content_for :sidebar, render(:partial => 'sidebar') -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activoate-0.5.0 | lib/generators/activoate/activated/templates/view_show_attrtastic.html.erb |
activoate-0.4.5 | lib/generators/activoate/activated/templates/view_show_attrtastic.html.erb |