To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / plugins / redmine_bibliography / app / views / publications / autocomplete_for_author.html.erb @ 1435:d0ac3348d28d

History | View | Annotate | Download (398 Bytes)

1
<%= raw @results.map { |result|
2
    {
3
    'label' => result.name,
4
    'value' => result.name,
5
    'search_author_class' => result.class.name,
6
    'search_author_id' => result.id,
7
    'name' => result.name,
8
    'institution' => result.institution,
9
    'email' => result.mail,
10
    'authorship_link' => " Keep associated with #{render_authorship_link(result.class.name, result.id)}"
11
    }
12
}.to_json %>