]> git.openstreetmap.org Git - rails.git/blob - app/views/traces/edit.html.erb
Merge branch 'pull/5206'
[rails.git] / app / views / traces / edit.html.erb
1 <% content_for :heading do %>
2   <h1><%= t ".heading", :name => @trace.name %></h1>
3 <% end %>
4
5 <%= trace_picture(@trace) %>
6
7 <%= bootstrap_form_for @trace do |f| %>
8   <%= f.text_field :name, :disabled => true %>
9   <%= f.text_field :description, :maxlength => 255 %>
10   <%= f.text_field :tagstring %>
11   <%= f.select :visibility,
12                [[t("traces.visibility.private"), "private"],
13                 [t("traces.visibility.public"), "public"],
14                 [t("traces.visibility.trackable"), "trackable"],
15                 [t("traces.visibility.identifiable"), "identifiable"]],
16                :help => link_to(t(".visibility_help"), t(".visibility_help_url")) %>
17   <%= f.primary %>
18   <%= link_to t(".cancel"), show_trace_path(@trace.user, @trace), :class => "btn btn-link" %>
19 <% end %>