To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / plugins / redmine_bibliography / app / views / publications / new.html.erb @ 1391:8580d1d1150e
History | View | Annotate | Download (1.11 KB)
| 1 | 545:a2c2b9f8380b | luis | <% content_for :header_tags do %>
|
|---|---|---|---|
| 2 | <%= javascript_include_tag 'authors', :plugin => 'redmine_bibliography' %>
|
||
| 3 | 619:4ede44d53f76 | chris | <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %>
|
| 4 | 1391:8580d1d1150e | luis | <%= javascript_include_tag 'bibliography', :plugin => 'redmine_bibliography' -%>
|
| 5 | <%= javascript_include_tag 'new_publication', :plugin => 'redmine_bibliography' -%>
|
||
| 6 | <%= javascript_tag "
|
||
| 7 | $('#publication_bibtex_entry_attributes_entry_type').live('change', function() {
|
||
| 8 | $this = $(this);
|
||
| 9 | $.ajax({
|
||
| 10 | type: 'get',
|
||
| 11 | url: '#{url_for(:controller => :publications, :action => :show_bibtex_fields)}',
|
||
| 12 | data: {
|
||
| 13 | value: $this.val()
|
||
| 14 | },
|
||
| 15 | dataType: 'script'
|
||
| 16 | });
|
||
| 17 | return false;
|
||
| 18 | });"-%>
|
||
| 19 | |||
| 20 | 545:a2c2b9f8380b | luis | <% end %>
|
| 21 | 329:4575b631f6ce | luis | |
| 22 | 1391:8580d1d1150e | luis | <%= error_messages_for 'publication' %>
|
| 23 | |||
| 24 | 545:a2c2b9f8380b | luis | <h2><%=l(:label_publication_new)%></h2> |
| 25 | |||
| 26 | 1274:5ea1a213c7a5 | luis | <%= labelled_form_for @publication, :url => { :project_id => @project, :action => :create } do |f| -%>
|
| 27 | 1391:8580d1d1150e | luis | |
| 28 | 1274:5ea1a213c7a5 | luis | <%= render :partial => 'form', :locals => { :f => f } %>
|
| 29 | 1391:8580d1d1150e | luis | |
| 30 | 1274:5ea1a213c7a5 | luis | <div style="clear:both"></div> |
| 31 | <%= f.submit %>
|
||
| 32 | 578:c8552c08687f | chris | <% end %> |