To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / vendor / plugins / redmine_bibliography / app / views / publications / new.html.erb @ 953:b52621512b47
History | View | Annotate | Download (976 Bytes)
| 1 |
<% content_for :header_tags do %>
|
|---|---|
| 2 |
<%= javascript_include_tag 'authors', :plugin => 'redmine_bibliography' %>
|
| 3 |
<%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %>
|
| 4 |
<% end %>
|
| 5 |
|
| 6 |
<h2><%=l(:label_publication_new)%></h2> |
| 7 |
|
| 8 |
<p>To create a publication you can either parse a BibTeX entry or enter the publication details manually.<p> |
| 9 |
|
| 10 |
|
| 11 |
<div class="splitcontentleft"> |
| 12 |
<%- remote_form_for @publication, :url => { :project_id => @project, :action => :parse_bibtex } do |f| -%>
|
| 13 |
<%= text_area_tag :bibtex_paste, "Please paste your bibtex entry here", :rows => 6, :style => 'width:90%' %>
|
| 14 |
<br /> |
| 15 |
<%= f.submit "Parse BibTex" %>
|
| 16 |
<%- end -%>
|
| 17 |
</div>
|
| 18 |
|
| 19 |
<div class="splitcontentright"> |
| 20 |
<% form_for @publication, :url => { :project_id => @project, :action => :create }, :builder => TabularFormBuilder do |f| -%>
|
| 21 |
<%= render :partial => 'form', :locals => { :f => f } %>
|
| 22 |
<div style="clear:both"></div> |
| 23 |
<%= f.submit %>
|
| 24 |
<% end %>
|
| 25 |
</div>
|