]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/new_note.html.erb
get_text("reversegeocode/result") returns an XML node. We want to get the text value...
[rails.git] / app / views / browse / new_note.html.erb
index e647eab13803d513cbd57158d2628855a5a8a839..c8f658f53feca5b240a3b7f0f69762a1bfccc4d2 100644 (file)
@@ -2,14 +2,16 @@
 
 <%= 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="#" class="standard-form">
-    <input type="hidden" name="lon">
-    <input type="hidden" name="lat">
-    <textarea class="comment" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>
-    <div class="buttons clearfix">
-      <input type="submit" name="add" value="<%= t("javascripts.notes.new.add") %>" disabled="1">
+  <form action="#">
+    <input type="hidden" name="lon" autocomplete="off">
+    <input type="hidden" name="lat" autocomplete="off">
+    <div class="mb-3">
+      <textarea class="form-control" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>
+    </div>
+    <div class="btn-wrapper">
+      <input type="submit" name="add" value="<%= t("javascripts.notes.new.add") %>" disabled="1" class="btn btn-primary">
     </div>
   </form>
 </div>