]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/new_note.html.erb
Add missing autocomplete attributes
[rails.git] / app / views / browse / new_note.html.erb
index 1786c260f4701e65826c16f23efba95b7ab2a14a..1db7609b371ee96c6485a3afe0d4cdaf0531ff0f 100644 (file)
@@ -2,11 +2,11 @@
 
 <%= render "sidebar_header", :title => t("browse.note.new_note") %>
 
-<div class="note browse-section">
+<div class="note">
   <p class="alert alert-info"><%= t("javascripts.notes.new.intro") %></p>
   <form action="#">
-    <input type="hidden" name="lon">
-    <input type="hidden" name="lat">
+    <input type="hidden" name="lon" autocomplete="off">
+    <input type="hidden" name="lat" autocomplete="off">
     <div class="form-group">
       <textarea class="form-control" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>
     </div>