X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/dc7d60a0de460c72d292b43616eb97a8b34741c8..c933ff40da110253bc4c474d9c79c3a4ed98721d:/app/views/election/show.rhtml diff --git a/app/views/election/show.rhtml b/app/views/election/show.rhtml new file mode 100644 index 0000000..954e480 --- /dev/null +++ b/app/views/election/show.rhtml @@ -0,0 +1,18 @@ +<% %> +

Information On <%= @election.name %>

+ +

Overview <%= link_to "edit", :action => 'edit', :id => @election.id %>

+ +

Description

+ +
+<%= @election.description %> +
+ +

Candidates <%= link_to "edit", :action => 'edit_candidates', :id => @election.id %>

+ +<%= render :partial => 'candidate_list' %> + +

Voters <%= link_to "edit", :action => 'edit_voters', :id => @election.id %>

+ +<%= render :partial => 'voter_list' %>