redesign how proposed actions are shown in progress view inside the
proposal's dashboard
This commit is contained in:
Juan Salvador Pérez García
2018-07-12 12:00:59 +02:00
parent e7b3965991
commit c0c23e270b
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
<p>
<%= link_to document.attachment.url, target: '_blank' do %>
<%= document.title %>
(
<%= document.humanized_content_type %>
&nbsp;|&nbsp;
<%= number_to_human_size(document.attachment_file_size, precision: 2) %>
)
<% end %>
</p>

View File

@@ -21,8 +21,10 @@
<% end %> <% end %>
<% proposed_action.links.each do |link| %> <% proposed_action.links.each do |link| %>
<%= link_to link.label, link.url, target: '_blank' %> <p><%= link_to link.label, link.url, target: '_blank' %></p>
<% end %> <% end %>
<%= render partial: 'document', collection: proposed_action.documents %>
<% end %> <% end %>
</div> </div>
</div> </div>