<%- model_class = AttachedFile -%> <% attached_files.each do |attached_file| %> <% end %>
<%= model_class.human_attribute_name(:id) %> <%= model_class.human_attribute_name(:issue_comment_id) %> <%= model_class.human_attribute_name(:url) %> <%= model_class.human_attribute_name(:created_at) %> <%=t '.actions', :default => t("helpers.actions") %>
<%= attached_file.id %> <%= attached_file.issue_comment.title %> <%= attached_file.url %> <%=l attached_file.created_at %> <%= 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' %>