]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/edit.html.erb
Wrap GPX API calls with the API error handler, and make sure the create
[rails.git] / app / views / trace / edit.html.erb
index 2f73d2d4ed78c30b8fdb82df0cf9b4915bf8c9d1..523607ae63b660094bcd930dbe92a175b261b105 100644 (file)
   </tr>
   <tr>
     <td><%= t'trace.edit.description' %></td>
-    <td><%= f.text_field :description %></td>
+    <td><%= f.text_field :description, :size => 50 %></td>
   </tr>
   <tr>
     <td><%= t'trace.edit.tags' %></td>
-    <td><%= f.text_field :tagstring %></td>
+    <td><%= f.text_field :tagstring, :size => 50 %> (<%= t'trace.edit.tags_help' %>)</td>
+  </tr>
+  <tr>
+    <td><%= t'trace.edit.visibility' %></td>
+    <td><%= f.select :visibility, [[t('trace.visibility.private'),"private"],[t('trace.visibility.public'),"public"],[t('trace.visibility.trackable'),"trackable"],[t('trace.visibility.identifiable'),"identifiable"]] %> (<a href="<%= t'trace.edit.visibility_help_url' %>"><%= t'trace.edit.visibility_help' %></a>)</td>
   </tr>
 </table>