Sha256: 24a011f797b181cce1382d085c1da301cb3ea754d5e38984367a4ebb763d4ca4

Contents?: true

Size: 1.48 KB

Versions: 10

Compression:

Stored size: 1.48 KB

Contents

<%- model_class = IssueComment -%>
<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><%= @issue_comment.id %></dd>
  <dt><strong><%= model_class.human_attribute_name(:issue_id) %>:</strong></dt>
  <dd><%= @issue_comment.issue.title %></dd>
  <dt><strong><%= model_class.human_attribute_name(:user_id) %>:</strong></dt>
  <dd><%= @issue_comment.user.email %></dd>
  <dt><strong><%= model_class.human_attribute_name(:description) %>:</strong></dt>
  <dd><%= @issue_comment.description %></dd>
  <dt><strong><%= model_class.human_attribute_name(:created_at) %>:</strong></dt>
  <dd><%=l @issue_comment.created_at %></dd>
  <dt><strong><%= model_class.human_attribute_name(:updated_at) %>:</strong></dt>
  <dd><%=l @issue_comment.updated_at %></dd>
</dl>

<%= link_to t('.back', :default => t("helpers.links.back")),
              issue_comments_path, :class => 'btn btn-default'  %>
<%= link_to t('.edit', :default => t("helpers.links.edit")),
              edit_issue_comment_path(@issue_comment), :class => 'btn btn-default' %>
<%= link_to t('.destroy', :default => t("helpers.links.destroy")),
              issue_comment_path(@issue_comment),
              :method => 'delete',
              :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
              :class => 'btn btn-danger' %>

Version data entries

10 entries across 9 versions & 1 rubygems

Version Path
model_base_generators-0.4.0 examples/rails-5.1/app/views/issue_comments/show.html.erb
model_base_generators-0.4.0 examples/rails-5.0/app/views/issue_comments/show.html.erb
model_base_generators-0.3.9 example/app/views/issue_comments/show.html.erb
model_base_generators-0.3.8 example/app/views/issue_comments/show.html.erb
model_base_generators-0.3.7 example/app/views/issue_comments/show.html.erb
model_base_generators-0.3.6 example/app/views/issue_comments/show.html.erb
model_base_generators-0.3.5 example/app/views/issue_comments/show.html.erb
model_base_generators-0.3.4 example/app/views/issue_comments/show.html.erb
model_base_generators-0.3.3 example/app/views/issue_comments/show.html.erb
model_base_generators-0.3.2 example/app/views/issue_comments/show.html.erb