Add note creation to the sidebar

This commit is contained in:
Aaron Lidman 2013-11-11 19:06:07 -08:00
parent 85282f5cdd
commit 1b19974b12
9 changed files with 169 additions and 213 deletions

View file

@ -0,0 +1,20 @@
<% set_title("New Note") %>
<h2>
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
<%= t "browse.note.new_note" %>
</h2>
<div class="note browse-section">
<p><%= t('javascripts.notes.new.intro') %></p>
<form action="#">
<input type="hidden" name="lon">
<input type="hidden" name="lat">
<br/>
<textarea class="comment" name="text" cols="40" rows="10"></textarea>
<br/>
<div class="buttons clearfix">
<input type="submit" name="add" value="<%= t('javascripts.notes.new.add') %>" disabled="1">
</div>
</form>
</div>