X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c65b1e11059c5cf510b54c785d4a246215058f70..b9f3bbdefb7bb1abd63193e2162aae1e78e1a1cb:/app/views/layouts/main.rhtml diff --git a/app/views/layouts/main.rhtml b/app/views/layouts/main.rhtml new file mode 100644 index 0000000..0b9d5cb --- /dev/null +++ b/app/views/layouts/main.rhtml @@ -0,0 +1,52 @@ +<% %> + + + <%= @page_title || "Selectricity" %> + <%= stylesheet_link_tag "main", :media => "all" %> + + <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %> + + +
+ <% if @page_title %> +

<%= @page_title %>

+ <% else %> + <%= link_to('

Selectricity
+ Voting Machinery for the Masses

', :controller => + 'site', :action => 'index')%>
+ <% end %> + + +
+ + <% if flash[:notice]%> +
<%= flash[:notice] %>
+ <% end%> + +
+ <%= @content_for_layout %> +
+ + + + +