Skip to content

Commit

Permalink
Fix typo in publication show view
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfb committed May 10, 2016
1 parent 75f9f75 commit 9502bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/publications/show.haml
Expand Up @@ -81,7 +81,7 @@
-# if i am already the finalizer dont show the button
- finalizer = @publication.find_finalizer_user
- if !(finalizer && finalizer.id == @current_user.id)
= form_tag({:controller => 'publications', :action => 'become_finalizer') do
= form_tag({:controller => 'publications', :action => 'become_finalizer'}) do
= submit_tag "Make me finalizer", :disabled => @publication.advisory_lock_exists?("become_finalizer_#{@publication.id}"), :onclick => 'this.disabled=true;this.form.submit();'

%br
Expand Down

0 comments on commit 9502bd2

Please sign in to comment.