]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/new_note.html.erb
erblint: fix remaining single quoted strings
[rails.git] / app / views / browse / new_note.html.erb
index f6518daf204b2d5acc8b97c0bfe1332aa02ca930..53279d24eea524f559e1a646dce174c54d07a8d0 100644 (file)
@@ -6,13 +6,13 @@
 </h2>
 
 <div class="note browse-section">
-  <p class="warning"><%= t('javascripts.notes.new.intro') %></p>
+  <p class="warning"><%= t("javascripts.notes.new.intro") %></p>
   <form action="#">
     <input type="hidden" name="lon">
     <input type="hidden" name="lat">
-    <textarea class="comment" name="text" cols="40" rows="10" placeholder="<%= t('javascripts.notes.new.advice') %>"></textarea>
+    <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">
+      <input type="submit" name="add" value="<%= t("javascripts.notes.new.add") %>" disabled="1">
     </div>
   </form>
 </div>