%- model_class = Project -%>
- <%= model_class.human_attribute_name(:owner_id) %>:
- <%= @project.owner.email %>
- <%= model_class.human_attribute_name(:name) %>:
- <%= @project.name %>
- <%= model_class.human_attribute_name(:closed) %>:
- <%= @project.closed %>
<%= 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' %>