Revision 1051:ef882e222003 vendor/plugins/redmine_bibliography/app/views/publications/new
| 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 -%> |
|
| 1 |
|
|
| 2 |
|
|
| 3 |
<div class="box"> |
|
| 4 |
<%= text_area_tag :bibtex_paste, "Please paste your bibtex entry here" , :class => "wiki", :style => 'width:90%' -%> |
|
| 5 |
|
|
| 6 |
<br /> |
|
| 7 |
|
|
| 8 |
<%= link_to_remote "Parse BiBTeX", :url => { :project_id => @project, :action => :parse_bibtex}, :with => "'bibtex_paste=' + $('bibtex_paste').value" -%>
|
|
| 9 |
</div> |
|
| 10 |
|
|
| 11 |
<div class="box" id="ieee_prev"></div> |
|
| 12 |
|
|
| 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| -%>
|
|
| 1 |
<% form_for @publication, :url => { :project_id => @project, :action => :create }, :builder => TabularFormBuilder do |f| -%>
|
|
| 2 | 2 |
<div class="box tabular settings"> |
| 3 |
<%= render :partial => 'form', :locals => { :f => f } %>
|
|
| 4 |
<div style="clear:both"></div> |
|
| 5 |
<%= f.submit %> |
|
| 3 |
<fieldset> |
|
| 4 |
<%= render :partial => 'form', :locals => { :f => f } %>
|
|
| 5 |
|
|
| 6 |
<div style="clear:both"></div> |
|
| 7 |
<%= f.submit %> |
|
| 8 |
</fieldset> |
|
| 6 | 9 |
</div> |
| 7 | 10 |
<%- end -%> |
Also available in: Unified diff