add helper for personal_annotation partial form

This commit is contained in:
Pfingstfrosch 2020-06-04 21:52:51 +02:00
parent b7119cdbd3
commit 8196517175

View File

@ -1,2 +1,9 @@
module Crawlers::TissCrawlerHelper module Crawlers::TissCrawlerHelper
def render_personal_annotations(id, object)
render :partial => "crawlers/personal_annotations",
:locals => {
:cur_id => id,
:personal_annotation => (object['personal_annotation'] if object)
}
end
end end