X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/b47d1fbe36d5aeb9b79d6bbaab035ca448a3c3ef..adfcf4dd7d989d0560e2a8f6a590dd10c5a49a08:/app/views/election/_candidate_box_info.rhtml diff --git a/app/views/election/_candidate_box_info.rhtml b/app/views/election/_candidate_box_info.rhtml new file mode 100644 index 0000000..76d56c0 --- /dev/null +++ b/app/views/election/_candidate_box_info.rhtml @@ -0,0 +1,15 @@ +
+ <% if @current_candidate.picture %> +
+ +
+ <% end %> +
+ <% if @current_candidate.description.length > 0 %> + <%= h(@current_candidate.description) %> + <% else %> + + <% end %> +
+
+