add partial render for rendering the personal_annotation form
This commit is contained in:
parent
81a7e16bae
commit
b7119cdbd3
@ -1,9 +1,10 @@
|
|||||||
<%= form_tag "submit", :id => "my_form" do -%>
|
<%= form_tag "add_annotation", :id => "id" do -%>
|
||||||
<p>
|
<p>
|
||||||
Add an annotation:
|
Add an annotation:
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<%= text_area_tag 'body', nil, class: 'annotationField' %>
|
<%= text_area_tag 'body', personal_annotation, class: 'annotationField' %>
|
||||||
|
<%= hidden_field_tag :id , cur_id %>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<%= submit_tag "Save annotation" %>
|
<%= submit_tag "Save annotation" %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user