Sha256: 5e55460f4b9f2a29deaf070ca01e6824dc095f204a6c773c206abb2e8e455687
Contents?: true
Size: 1.28 KB
Versions: 5
Compression:
Stored size: 1.28 KB
Contents
<%- model_class = AttachedFile -%> <table class="table table-striped"> <thead> <tr> <th><%= model_class.human_attribute_name(:id) %></th> <th><%= model_class.human_attribute_name(:issue_comment_id) %></th> <th><%= model_class.human_attribute_name(:url) %></th> <th><%= model_class.human_attribute_name(:created_at) %></th> <th><%=t '.actions', :default => t("helpers.actions") %></th> </tr> </thead> <tbody> <% attached_files.each do |attached_file| %> <tr> <td><%= attached_file.id %></td> <td><%= attached_file.issue_comment.title %></td> <td><%= attached_file.url %></td> <td><%=l attached_file.created_at %></td> <td> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_attached_file_path(attached_file), :class => 'btn btn-default btn-xs' %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), attached_file_path(attached_file), :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
5 entries across 4 versions & 1 rubygems