-
Notifications
You must be signed in to change notification settings - Fork 0
/
_article-form.html
44 lines (44 loc) · 2.65 KB
/
_article-form.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<li xmlns="http://www.w3.org/1999/xhtml" class="list-group-item" data-template="ads:article">
<span class="badge">
<span data-template="helpers:model-value" data-template-key="article.bibcode"/>
<input name="bibcode" type="hidden" data-template="helpers:model-value-attribute" data-template-key="article.bibcode" data-template-name="value"/>
</span>
<div data-template="helpers:unless-model-key" data-template-key="article.title">
<div class="bg-warning">No abstract found at <a href="http://adsabs.harvard.edu/">ADS</a> for bibcode <span data-template="helpers:model-value" data-template-key="article.bibcode"/>.</div>
</div>
<div data-template="helpers:if-model-key" data-template-key="article.title">
<div>
<strong>Title: </strong>
<a data-template="helpers:model-value-attribute" data-template-key="article.ads-url" data-template-name="href" target="_blank">
<span data-template="helpers:model-value" data-template-key="article.title"/>
</a>
<input type="hidden" name="title" data-template="helpers:model-value-attribute" data-template-key="article.title" data-template-name="value"/>
</div>
<div>
<strong>Authors: </strong>
<ul class="list-inline">
<li data-template="helpers:each" data-template-from="article.authors" data-template-to="author">
<span data-template="helpers:model-value" data-template-key="author"/>
<input type="hidden" name="author" data-template="helpers:model-value-attribute" data-template-key="author" data-template-name="value"/>
</li>
</ul>
</div>
<div>
<strong>Publication date: </strong>
<span>
<span data-template="helpers:model-value" data-template-key="article.pubdate"/>
<input type="hidden" name="pubdate" data-template="helpers:model-value-attribute" data-template-key="article.pubdate" data-template-name="value"/>
</span>
</div>
<div>
<strong>Keywords: </strong>
<div class="bootstrap-tagsinput">
<div data-template="helpers:each" data-template-from="article.keywords" data-template-to="keyword" class="tag label label-info">
<span data-template="helpers:model-value" data-template-key="keyword"/>
<input type="hidden" name="keyword" data-template="helpers:model-value-attribute" data-template-key="keyword" data-template-name="value"/>
</div>
</div>
</div>
</div>
</li>