Sha256: da50041ec938ee2266a0826c80b5448e2e0f59f1d52b287742c352e6cc2b4df2
Contents?: true
Size: 1.4 KB
Versions: 4
Compression:
Stored size: 1.4 KB
Contents
<%- model_class = Issue -%> <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(:project_id) %>:</strong></dt> <dd><%= @issue.project.name %></dd> <dt><strong><%= model_class.human_attribute_name(:title) %>:</strong></dt> <dd><%= @issue.title %></dd> <dt><strong><%= model_class.human_attribute_name(:status) %>:</strong></dt> <dd><%= @issue.status_text %></dd> <dt><strong><%= model_class.human_attribute_name(:creator_id) %>:</strong></dt> <dd><%= @issue.creator.email %></dd> <dt><strong><%= model_class.human_attribute_name(:created_at) %>:</strong></dt> <dd><%=l @issue.created_at %></dd> <dt><strong><%= model_class.human_attribute_name(:updated_at) %>:</strong></dt> <dd><%=l @issue.updated_at %></dd> </dl> <%= link_to t('.back', :default => t("helpers.links.back")), issues_path, :class => 'btn btn-default' %> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_issue_path(@issue), :class => 'btn btn-default' %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), issue_path(@issue), :method => 'delete', :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-danger' %>
Version data entries
4 entries across 4 versions & 1 rubygems