Created
November 22, 2017 13:18
-
-
Save madzhuga/03d3b2ff1b928857076db6b21072cad6 to your computer and use it in GitHub Desktop.
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
/ app/views/rails_workflow/operations/_some_event_partial.html.slim | |
ruby: | |
# I know it's bad code but doing it this way just to focus | |
# on post topic | |
user = User.find(context.data["user"][:id]) | |
table.table.table-striped.table-hover | |
tbody | |
tr | |
td User | |
td = link_to user.email, main_app.user_path(user) | |
- context.data.except('url_path', 'url_params', 'user').each_pair do |key, value| | |
tr | |
td = key | |
td = value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment