<%- model_class = Phase -%> <% phases.each do |phase| %> <% end %>
<%= model_class.human_attribute_name(:project_id) %> <%= model_class.human_attribute_name(:name) %> <%= model_class.human_attribute_name(:started_at) %> <%= model_class.human_attribute_name(:finished_at) %> <%=t '.actions', :default => t("helpers.actions") %>
<%= phase.project.name %> <%= link_to phase.name, phase_path(phase) %> <%=l phase.started_at %> <%=l phase.finished_at %> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_phase_path(phase), :class => 'btn btn-default btn-xs' %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), phase_path(phase), :method => :delete, :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-xs btn-danger' %>