Editing event

<%= render :partial => "events/info" %> <%= form_for(@event) do |f| %> <% @event.errors.full_messages.each do |message| %>

<%= message %>

<% end %> <%= render :partial => "events/list", :locals => { :edit_event => @event, :f => f, :show => false }%>
<% end %> <%= link_to 'Back', events_path %>