X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/fd484b33a3920e0031007c5c2f1dec61913cbab5..dcf695c59be7d21509575a4570ba14b619d7723c:/app/views/election/edit_candidate.rhtml diff --git a/app/views/election/edit_candidate.rhtml b/app/views/election/edit_candidate.rhtml index e465ae9..7e1dd65 100644 --- a/app/views/election/edit_candidate.rhtml +++ b/app/views/election/edit_candidate.rhtml @@ -1,9 +1,9 @@ -

Editing <%= @candidate.name %>

+

Editing <%=h @candidate.name %>

<%= error_messages_for :candidate %> -<%= form_tag( { :action => :update_candidate, :id => @candidate.id }, - :multipart => true ) %> +<% form_tag( { :action => :update_candidate, :id => @candidate.id }, + :multipart => true ) do %> <%= render :partial => 'candidate_form' %> <%= submit_tag "Save" %> -<%= end_form_tag %> +<% end %>