Revision 385:a6f8c0584a92 vendor/plugins/redmine_bibliography/app/views

View differences:

vendor/plugins/redmine_bibliography/app/views/publications/_new_bibtex_step.html.erb
1

  
2
  <h1>New Bibtex</h1>
3
  <p>
4
    <%= f.label :title %>
5
    <%= f.text_field :title %>
6
  </p>
7

  
8

  
9
  <p>
10
  
11
    <%=label_tag :bibtex_entry %>
12
    <%=text_area_tag :bibtex_entry%>
13
  
14
  </p>
15

  
16

  
vendor/plugins/redmine_bibliography/app/views/publications/new.html.erb
1 1
<h1>New Publication</h1>
2 2

  
3
<% form_for(:publication) do |f| %>
3

  
4
<% form_for @publication do |f| %>
4 5
  <% f.error_messages %>
5
  
6
  <p>
7
    <%= f.label :title %>
8
    <%= f.text_field :title %>
9
  </p>
10 6

  
7
  <% render :partial  => "#{@publication.current_step}_bibtex_step", :f => f %>
11 8

  
12
  <p>
13
  
14
    <%=label_tag :bibtex_entry %>
15
    <%=text_area_tag :bibtex_entry%>
16
  
17
  </p>
18

  
19
<%= submit_tag l(:button_submit) %>
9
  <%= submit_tag l(:button_submit) %>
20 10

  
21 11
<% end %>
22 12

  

Also available in: Unified diff