Created
November 14, 2017 17:56
-
-
Save madzhuga/c75b65efc475485d83380d866fc52f07 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| body | |
| ... | |
| main[role="main"] | |
| == render 'layouts/messages' | |
| - if show_back_to_operation_button | |
| .btn-group | |
| / And just add a button right to layout. | |
| / I know I need to add a helper for that - will do that shortly | |
| = button_to "Back to #{current_operation.title}", | |
| RailsWorkflow::Engine.routes.url_helpers.navigate_to_operations_path, | |
| class: "btn", method: :get | |
| == yield |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment