From b451c7684652bb46b0794487f67a582181280391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?= Date: Tue, 19 Jan 2016 14:08:57 +0100 Subject: [PATCH] adds simple show view for spending proposals --- app/views/spending_proposals/show.html.erb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 app/views/spending_proposals/show.html.erb diff --git a/app/views/spending_proposals/show.html.erb b/app/views/spending_proposals/show.html.erb new file mode 100644 index 000000000..95432fba9 --- /dev/null +++ b/app/views/spending_proposals/show.html.erb @@ -0,0 +1,34 @@ +<% provide :title do %><%= @spending_proposal.title %><% end %> + +
+
+
+ +

<%= @spending_proposal.title %>

+ +
+ <%= render '/shared/author_info', resource: @spending_proposal %> + +  •  + <%= l @spending_proposal.created_at.to_date %> +  •  + <%= geozone_name(@spending_proposal) %> +
+ + <%= safe_html_with_links @spending_proposal.description.html_safe %> + + <% if @spending_proposal.external_url.present? %> + + <% end %> + + <% if @spending_proposal.resolution.present? %> +
+ <%= @spending_proposal.resolution %> +
+ <% end %> +
+ +
+
\ No newline at end of file