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 / _edit.html.erb @ 430:948400933de8
History | View | Annotate | Download (1.02 KB)
| 1 | 430:948400933de8 | luis | |
|---|---|---|---|
| 2 | <% form_for @publication, :url => {:action => :update }, :id => 13 do |f| -%>
|
||
| 3 | <%= f.error_messages %>
|
||
| 4 | <p>
|
||
| 5 | <%= f.label :title, l(:title) %> <%= f.text_field :title %> |
||
| 6 | </p>
|
||
| 7 | |||
| 8 | |||
| 9 | <h3><%= l(:authors) -%></h3> |
||
| 10 | |||
| 11 | <% f.fields_for :authors do |author| %>
|
||
| 12 | <p>
|
||
| 13 | <%= author.label :name, l("name") %> <%= author.text_field :name %> |
||
| 14 | </p>
|
||
| 15 | |||
| 16 | <% end %>
|
||
| 17 | |||
| 18 | |||
| 19 | <% f.fields_for @publication.bibtex_entry do |b| -%>
|
||
| 20 | <p>
|
||
| 21 | <%= b.label :year, l(:year) %> <%= b.text_field :year %> |
||
| 22 | </p>
|
||
| 23 | <p>
|
||
| 24 | <%= b.label :chapter, l(:chapter) %> <%= b.text_field :chapter %> |
||
| 25 | </p>
|
||
| 26 | <p>
|
||
| 27 | <%= b.label :editor, l(:editor) %> <%= b.text_field :editor %> |
||
| 28 | </p>
|
||
| 29 | <p>
|
||
| 30 | <%= b.label :booktitle, l(:booktitle) %> <%= b.text_field :booktitle %> |
||
| 31 | </p>
|
||
| 32 | <p>
|
||
| 33 | <%= b.label :publisher, l(:publisher) %> <%= b.text_field :publisher %> |
||
| 34 | </p>
|
||
| 35 | <p>
|
||
| 36 | <%= b.label :pages, l(:pages) %> <%= b.text_field :pages %> |
||
| 37 | </p>
|
||
| 38 | <% end -%>
|
||
| 39 | |||
| 40 | <%= f.submit %>
|
||
| 41 | |||
| 42 | <% end -%> |