Skip to content
Snippets Groups Projects
Commit c303e31d authored by Olivia206's avatar Olivia206
Browse files

changed html

parent 691bc256
No related branches found
No related tags found
No related merge requests found
<% content_for :title, Communication::Extranet::Document.model_name.human(count: 2) %>
<div class="row mt-n5">
<div class="row mt-n5 documents-list">
<% @documents.each do |document| %>
<div class="col-lg-4">
<div class="position-relative mt-5">
<article class="position-relative mt-5">
<p class="mt-2">
<b><%= document %></b><br>
<span class="text-muted"><%= l document.published_at.to_date %><span>
</p>
<%= link_to t('extranet.library.download'),
document.file.url,
class: 'btn btn-primary',
class: 'btn btn-primary stretched-link',
target: :_blank if document.file.attached? %>
</div>
</article>
</div>
<% end %>
</div>
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment