diff --git a/app/views/dashboard/_proposed_action.html.erb b/app/views/dashboard/_proposed_action.html.erb index 5c653efef..11cb29138 100644 --- a/app/views/dashboard/_proposed_action.html.erb +++ b/app/views/dashboard/_proposed_action.html.erb @@ -16,28 +16,22 @@

<%= l(proposed_action.executed_actions.find_by(proposal: proposal).executed_at.to_date) %>

- <% if proposed_action.description.present? %> - - <%= t("dashboard.recommended_actions.show_description") %> - -
- <%= proposed_action.description.html_safe %> -
- <% end %> - <% else %> - <% if proposed_action.description.present? %> - - <%= t("dashboard.recommended_actions.show_description") %> - -
- <%= proposed_action.description.html_safe %> -
- <% end %> - <% proposed_action.links.each do |link| %> -

<%= link_to link.label, link.url, target: "_blank" %>

- <% end %> - <%= render partial: 'document', collection: proposed_action.documents %> <% end %> + + <% if proposed_action.description.present? %> + + <%= t("dashboard.recommended_actions.show_description") %> + +
+ <%= proposed_action.description.html_safe %> +
+ <% end %> + + <% proposed_action.links.each do |link| %> +

<%= link_to link.label, link.url, target: "_blank" %>

+ <% end %> + + <%= render partial: 'document', collection: proposed_action.documents %>