<div class="modal-body">
<div class="event_controller">
<%= form_for @event,  url: {action: "update"}, :remote=>true do |f| %>
  <%= render :partial => 'form', :locals => {:f => f} %>
<% end %>
</div>
</div>