Last active
December 17, 2015 16:38
-
-
Save johno/5639816 to your computer and use it in GitHub Desktop.
Trigger partial swap upon button click.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= link_to 'Notify Yourself', | |
'#', | |
onclick: "uceem.fade('#notification_prompt', '#{ j render(partial: 'notify_yourself_form').html_safe }');", | |
class: 'btn btn-primary btn-large' %> | |
<%= link_to 'Notify Another User', | |
'#', | |
onclick: "uceem.fade('#notification_prompt', '#{ j render(partial: 'notify_another_user_form').html_safe }');", | |
class: 'btn btn-primary btn-large' %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment