X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a1853204faefd8270e3db4a988ef373ea1ab342d..b446138aefb04799cc1253886335ced16e546517:/app/views/trace/edit.html.erb diff --git a/app/views/trace/edit.html.erb b/app/views/trace/edit.html.erb deleted file mode 100644 index e890745ae..000000000 --- a/app/views/trace/edit.html.erb +++ /dev/null @@ -1,55 +0,0 @@ -<% content_for :heading do %> -

<%= t '.heading', :name => h(@trace.name) %>

-<% end %> - - - -<%= form_for @trace, :method => :post, :url => { :action => "edit" } do |f| %> - -
-
-
- -

<%= @trace.name %> (<%= link_to t('.download'), trace_data_path(@trace) %>)

-
-
- -

<%= l @trace.timestamp, :format => :friendly %>

-
- <% if @trace.inserted? %> -
- -

<%= @trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %>

-
-
- -
-
- <%= @trace.latitude %>; - <%= @trace.longitude %> -
- (<%=link_to t('.map'), :controller => 'site', :action => 'index', :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%=link_to t('.edit'), :controller => 'site', :action => 'edit', :gpx=> @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>) - <% end %> -
- -

<%= link_to h(@trace.user.display_name), user_path(@trace.user) %>

-
-
- - <%= f.text_field :description %> -
-
- - <%= f.text_field :tagstring %> (<%= t '.tags_help' %>) -
-
- - <%= f.select :visibility, [[t('trace.visibility.private'),"private"], [t('trace.visibility.public'),"public"], [t('trace.visibility.trackable'),"trackable"], [t('trace.visibility.identifiable'),"identifiable"]] %> (<%= t '.visibility_help' %>) -
-
- -
- -<%= submit_tag t '.save_button' %> - -<% end %>