Sha256: cea9d27f5c85c1e4cd758380387c1eb72a7acae94c417281e475e0190c4c212b
Contents?: true
Size: 722 Bytes
Versions: 1
Compression:
Stored size: 722 Bytes
Contents
<%- columns.each do |column| -%> %label{:class => "label"}= t("activerecord.attributes.<%= singular_controller_routing_path %>.<%= column.name %>", :default => t("activerecord.labels.<%= column.name %>", :default => "<%= column.name.humanize %>")) + ":" %p= @<%= resource_name %>.<%= column.name %> <%- end -%> .form-actions = link_to "Back", <%= controller_routing_path %>_path, :class => 'btn' = link_to "Edit", edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => 'btn' = link_to "Delete", <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :confirm => "#{t("web-app-theme.confirm", :default => "Are you sure?")}", :class => 'btn btn-danger'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twitter-bootstrap-rails-2.0.4 | lib/generators/bootstrap/themed/templates/show.html.haml |