X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/fd484b33a3920e0031007c5c2f1dec61913cbab5..bf220bde847fd30e9bf0d00dd7c9aff31265c810:/app/views/election/edit_candidate.rhtml?ds=inline 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 %>