Sha256: 091aa00635c9b39a45071533cc596d0272cdf541a32c0d029f5429e4f1269a80
Contents?: true
Size: 1.39 KB
Versions: 9
Compression:
Stored size: 1.39 KB
Contents
<%- model_class = IssueComment -%> <table class="table table-striped"> <thead> <tr> <th><%= model_class.human_attribute_name(:id) %></th> <th><%= model_class.human_attribute_name(:issue_id) %></th> <th><%= model_class.human_attribute_name(:user_id) %></th> <th><%= model_class.human_attribute_name(:description) %></th> <th><%= model_class.human_attribute_name(:created_at) %></th> <th><%=t '.actions', :default => t("helpers.actions") %></th> </tr> </thead> <tbody> <% issue_comments.each do |issue_comment| %> <tr> <td><%= issue_comment.id %></td> <td><%= issue_comment.issue.title %></td> <td><%= issue_comment.user.email %></td> <td><%= issue_comment.description %></td> <td><%=l issue_comment.created_at %></td> <td> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_issue_comment_path(issue_comment), :class => 'btn btn-default btn-xs' %> <%= 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-xs btn-danger' %> </td> </tr> <% end %> </tbody> </table>
Version data entries
9 entries across 8 versions & 1 rubygems