X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e85c56d151a88a69f878ce4ed5bfdf4bbe695fbb..26777c44648f908b723c0c74b65972f75ac5fd3d:/app/views/diary_entry/edit.html.erb diff --git a/app/views/diary_entry/edit.html.erb b/app/views/diary_entry/edit.html.erb deleted file mode 100644 index d408938e5..000000000 --- a/app/views/diary_entry/edit.html.erb +++ /dev/null @@ -1,51 +0,0 @@ -<% content_for :head do %> - <%= javascript_include_tag "diary_entry" %> -<% end %> - -<% content_for :heading do %> -

<%= @title %>

-<% end %> - -<%= error_messages_for 'diary_entry' %> - -<%= form_for :diary_entry do |f| %> -
-
-
- - <%= f.text_field :title, :class => "richtext_title" %> -
-
- - <%= richtext_area :diary_entry, :body, :cols => 80, :rows => 20, :format => @diary_entry.body_format %> -
-
- - <%= f.collection_select :language_code, Language.order(:english_name), :code, :name %> -
-
-
- - <%= content_tag "div", "", :id => "map", :data => {:lat => @lat, :lon => @lon, :zoom => @zoom} %> -
-
- - <%= f.text_field :latitude, :size => 20, :id => "latitude" %> -
-
- - <%= f.text_field :longitude, :size => 20, :id => "longitude" %> -
- -
-
- - <% if action_name == 'new' %> - <%= submit_tag t('diary_entry.new.publish_button') %> - <% else %> - <%= submit_tag t('.save_button') %> - <% end %> -
-<% end %>