%= error_messages_for 'diary_entry' %> <% form_for :controller => 'diary_entry', :action => 'new' do |f| %>