Sha256: 943e7dcfa81a4e5f3d543750c206082c0527c67a539e986d962baa51e927b98a
Contents?: true
Size: 968 Bytes
Versions: 2
Compression:
Stored size: 968 Bytes
Contents
<%- model_class = Project -%> <div class="page-header"> <h1><%=t '.title', :default => model_class.model_name.human.titleize %></h1> </div> <dl class="dl-horizontal"> <dt><strong><%= model_class.human_attribute_name(:owner_id) %>:</strong></dt> <dd><%= @project.owner.email %></dd> <dt><strong><%= model_class.human_attribute_name(:name) %>:</strong></dt> <dd><%= @project.name %></dd> </dl> <%= link_to t('.back', :default => t("helpers.links.back")), projects_path, :class => 'btn btn-default' %> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_project_path(@project), :class => 'btn btn-default' %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), project_path(@project), :method => 'delete', :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-danger' %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
model_base_generators-0.2.1 | example/app/views/projects/show.html.erb |
model_base_generators-0.2.0 | example/app/views/projects/show.html.erb |