Skip to content

Commit

Permalink
Add "Create New DCLP Publication" button papyri#330
Browse files Browse the repository at this point in the history
  • Loading branch information
m-k-r committed Aug 31, 2017
1 parent b32c4c6 commit 3a9a663
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/views/publications/_create_from_dclp_template_form.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
= form_for @publication, :url => { :controller => "publications", :action => "create_from_dclp_template" } do |form|
= form.submit "Create New DCLP Publication", :class => 'save'
2 changes: 1 addition & 1 deletion app/views/publications/_create_from_templates_form.haml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
= form_for @publication, :url => { :controller => "publications", :action => "create_from_templates" } do |form|
= form.submit "Create New Publication", :class => 'save', :disabled => 'disabled'
= form.submit "Create New Publication", :class => 'save'
3 changes: 3 additions & 0 deletions app/views/publications/advanced_create.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
%p
Create a new APIS record.
= render :partial => "publications/create_from_apis_template_form"
%p
Create a new DCLP record.
= render :partial => "publications/create_from_dclp_template_form"
%p
Create a new biblio record.
= render :partial => "publications/create_from_biblio_template_form"
Expand Down

0 comments on commit 3a9a663

Please sign in to comment.