]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/templates/notes/new.jst.ejs
Refactor out 'globals' from more functions
[rails.git] / app / assets / javascripts / templates / notes / new.jst.ejs
index 2c2e77cfe2e9dad41c7aade53961bc13a0fe6246..a4ea5079ae31dc908ed3faf3b1e11fa20b5cf8a0 100644 (file)
@@ -3,10 +3,10 @@
   <form action="#">
     <input type="hidden" name="lon">
     <input type="hidden" name="lat">
-    <textarea name="text" cols="40" rows="10"></textarea>
+    <textarea class="comment" name="text" cols="40" rows="10"></textarea>
     <br/>
-    <div class="buttons">
-      <input type="submit" name="add" value="<%- I18n.t('javascripts.notes.new.add') %>" data-url="<%- create_url %>">
+    <div class="buttons clearfix">
+      <input type="submit" name="add" value="<%- I18n.t('javascripts.notes.new.add') %>" data-url="<%- create_url %>" disabled="1">
     </div>
   </form>
 </div>