]> git.openstreetmap.org Git - rails.git/blob - app/views/traces/edit.html.erb
Use before/after pagination on users page
[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 <%= image_tag trace_picture_path(@trace.user, @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 %>