Sha256: 30f865459a1174026b82986f845d51a7c7ccf4257f19c1ab4c16291cf2d30d46
Contents?: true
Size: 1.54 KB
Versions: 14
Compression:
Stored size: 1.54 KB
Contents
<%- model_class = ProjectAssignment -%> <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(:id) %>:</strong></dt> <dd><%= @project_assignment.id %></dd> <dt><strong><%= model_class.human_attribute_name(:project_id) %>:</strong></dt> <dd><%= @project_assignment.project.name %></dd> <dt><strong><%= model_class.human_attribute_name(:user_id) %>:</strong></dt> <dd><%= @project_assignment.user.email %></dd> <dt><strong><%= model_class.human_attribute_name(:started_at) %>:</strong></dt> <dd><%=l @project_assignment.started_at %></dd> <dt><strong><%= model_class.human_attribute_name(:finished_at) %>:</strong></dt> <dd><%=l @project_assignment.finished_at %></dd> <dt><strong><%= model_class.human_attribute_name(:created_at) %>:</strong></dt> <dd><%=l @project_assignment.created_at %></dd> </dl> <%= link_to t('.back', :default => t("helpers.links.back")), project_assignments_path, :class => 'btn btn-default' %> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_project_assignment_path(@project_assignment), :class => 'btn btn-default' %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), project_assignment_path(@project_assignment), :method => 'delete', :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-danger' %>
Version data entries
14 entries across 13 versions & 1 rubygems