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 / edit.html.erb @ 1391:8580d1d1150e
History | View | Annotate | Download (1.49 KB)
| 1 | 545:a2c2b9f8380b | luis | <% content_for :header_tags do %>
|
|---|---|---|---|
| 2 | 1391:8580d1d1150e | luis | <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' -%>
|
| 3 | <%= javascript_include_tag 'bibliography', :plugin => 'redmine_bibliography' -%>
|
||
| 4 | <%= javascript_include_tag 'authors', :plugin => 'redmine_bibliography' -%>
|
||
| 5 | |||
| 6 | <%= javascript_include_tag 'edit_publication', :plugin => 'redmine_bibliography' -%>
|
||
| 7 | |||
| 8 | <%= javascript_tag "$('#publication_bibtex_entry_attributes_entry_type').live('change', function() {
|
||
| 9 | $this = $(this);
|
||
| 10 | $.ajax({
|
||
| 11 | type: 'get',
|
||
| 12 | url: '#{url_for(:controller => :publications, :action => :show_bibtex_fields)}',
|
||
| 13 | data: {
|
||
| 14 | value: $this.val()
|
||
| 15 | },
|
||
| 16 | dataType: 'script'
|
||
| 17 | }); return false; });" -%>
|
||
| 18 | |||
| 19 | 545:a2c2b9f8380b | luis | <% end %>
|
| 20 | 428:9cfd7a1d848e | luis | |
| 21 | 1391:8580d1d1150e | luis | <%= error_messages_for 'publication' %>
|
| 22 | |||
| 23 | 545:a2c2b9f8380b | luis | <h2><%=l(:label_publication_show)%></h2> |
| 24 | 428:9cfd7a1d848e | luis | |
| 25 | 1326:8516c3292901 | luis | <%= labelled_form_for @publication, :url => { :project_id => @project, :action => :update } do |f| -%>
|
| 26 | 610:e9274ba9c1b3 | luis | |
| 27 | 1391:8580d1d1150e | luis | <%= render :partial => 'form', :locals => { :f => f } %>
|
| 28 | |||
| 29 | <div style="clear:both"></div> |
||
| 30 | <%= f.submit %>
|
||
| 31 | 545:a2c2b9f8380b | luis | <% end %>
|
| 32 | 1391:8580d1d1150e | luis | |
| 33 | 429:27930c9b424d | luis | <p>
|
| 34 | 1391:8580d1d1150e | luis | <%= link_to l(:label_publication_show), { :controller => "publications", :action => "show", :id => @publication, :project_id => @project_id } %> |
|
| 35 | <%= link_to l(:label_publication_index), { :controller => "publications", :action => "index", :project_id => @project } %>
|
||
| 36 | 452:34a6cf259682 | luis | </p>
|