Add note creation to the sidebar
This commit is contained in:
parent
85282f5cdd
commit
1b19974b12
9 changed files with 169 additions and 213 deletions
20
app/views/browse/new_note.html.erb
Normal file
20
app/views/browse/new_note.html.erb
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue