]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/new.html.erb
Remove commit parameter from diary controller test
[rails.git] / app / views / notes / new.html.erb
index 6728b32ffbc6a501abb252fc6941b3ec3e2cfdcd..f461f60e2313575c9f138f7ea272a6ac37b4b8f7 100644 (file)
@@ -9,13 +9,14 @@
                                          :log_in => link_to(t(".anonymous_warning_log_in"), login_path(:referer => new_note_path)),
                                          :sign_up => link_to(t(".anonymous_warning_sign_up"), user_new_path) %></p>
   <% end %>
+  <p class="alert alert-warning" id="new-note-zoom-warning" hidden><%= t "javascripts.site.createnote_disabled_tooltip" %></p>
   <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(".advice") %>"></textarea>
     </div>
-    <div class="btn-wrapper">
+    <div>
       <input type="submit" name="add" value="<%= t(".add") %>" disabled="1" class="btn btn-primary">
     </div>
   </form>