% content_for :head do %>
<%= javascript_include_tag "diary_entry" %>
<% end %>
<% content_for :heading do %>
<%= submit_tag t('diary_entry.edit.save_button') %>
<%# TODO: button should say 'publish' or 'save changes' depending on new/edit state %>
<% end %>