<!--edit note to answer. note passed as argument-->
<%= form_for(note,
url: note_path(note),
remote: true,
html: {method: :put, class: "edit_note_form roadmap-form"},
id: "edit_note_form_#{note.id}") do |f| %>
<fieldset class="standard">
<%= f.hidden_field :id, :value => note.id %>
<%= text_area_tag("#{note.id}_note_text".to_sym, note.text , class: "tinymce") %>
<%= f.submit _('Save'), :class => "form-submit edit_note_submit_button" %>
</fieldset>
<%end%>