Sha256: 2b410e5904d8cc5e4d3ef7018278b748461e4a2895398d16a025d13f47622513
Contents?: true
Size: 910 Bytes
Versions: 7
Compression:
Stored size: 910 Bytes
Contents
<%= render :partial=>"breadcrumb" %> <div class="page-header"> <h1><%=t '.title', :default => resource_class.model_name.human %></h1> </div> <dl class="dl-horizontal"> <% show_fields.each do |field| %> <dt><strong><%= resource_class.human_attribute_name(field) %>:</strong></dt> <dd><%= resource.send(field) %></dd> <% end %> </dl> <div class="form-actions"> <%= link_to t('.back', :default => t("helpers.links.back")), collection_url, :class => 'btn' %> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_resource_url , :class => 'btn' %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), resource_url, :method => 'delete', :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-danger' %> </div>
Version data entries
7 entries across 7 versions & 1 rubygems