add partial render for rendering the personal_annotation form

This commit is contained in:
Pfingstfrosch 2020-06-04 21:52:22 +02:00
parent 81a7e16bae
commit b7119cdbd3

View File

@ -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" %>