1 <% content_for :head do %>
2 <%= javascript_include_tag "diary_entry" %>
5 <% content_for :heading do %>
9 <%= error_messages_for "diary_entry" %>
11 <%= form_for @diary_entry, :url => diary_entry_path(current_user, @diary_entry), :html => { :method => :put } do |f| %>
12 <%= render :partial => "form", :locals => { :f => f } %>