<%- model_class = Plan -%>
<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(:locked) %>:</strong></dt>
<dd><%= @plan.locked %></dd>
<dt><strong><%= model_class.human_attribute_name(:project_id) %>:</strong></dt>
<dd><%= @plan.project_id %></dd>
<dt><strong><%= model_class.human_attribute_name(:version_id) %>:</strong></dt>
<dd><%= @plan.version_id %></dd>
<dt><strong><%= model_class.human_attribute_name(:slug) %>:</strong></dt>
<dd><%= @plan.slug %></dd>
</dl>
<div class="form-actions">
<%= link_to t('.back', :default => t("helpers.links.back")),
plans_path, :class => 'btn' %>
<%= link_to t('.edit', :default => t("helpers.links.edit")),
edit_project_plan_path(@plan), :class => 'btn' %>
<%= link_to t('.destroy', :default => t("helpers.links.destroy")),
plan_path(@plan),
:method => 'delete',
:data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => t('helpers.project.share.confirmation_question'))) },
:class => 'btn btn-danger' %>
</div>