Revision 1043:8cfa9b743559 vendor/plugins/redmine_bibliography/app/views/publications

View differences:

vendor/plugins/redmine_bibliography/app/views/publications/new.html.erb
5 5

  
6 6
<h2><%=l(:label_publication_new)%></h2>
7 7

  
8
<p>To create a publication you can either parse a BibTeX entry or enter the publication details manually.<p>
8
  <p>To create a publication you can either parse a BibTeX entry or enter the publication details manually.<p>
9 9

  
10
  <%= render_tabs create_publication_tabs %>
10 11

  
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>
vendor/plugins/redmine_bibliography/app/views/publications/new/_bibtex.html.erb
1
<%- remote_form_for @publication, :url =>  { :project_id  => @project, :action => :parse_bibtex }, :class => "tabular" do |f| -%>
2
  <div class="box tabular settings">
3
    <%= text_area_tag :bibtex_paste, "Please paste your bibtex entry here" , :class => "wiki", :style => 'width:90%' -%>
4
    <div style="clear:both"></div>
5
    <%= f.submit "Parse BibTex" %>
6
  </div>
7
<%- end -%>
vendor/plugins/redmine_bibliography/app/views/publications/new/_default.html.erb
1
<% form_for @publication, :url => { :project_id  => @project, :action => :create }, :class => "tabular" do |f| -%>
2
  <div class="box tabular settings">
3
    <%= render :partial => 'form', :locals => { :f => f }  %>
4
    <div style="clear:both"></div>
5
    <%= f.submit %>
6
  </div>
7
<%- end -%>

Also available in: Unified diff