Created
February 27, 2014 22:04
-
-
Save wrburgess/9260587 to your computer and use it in GitHub Desktop.
active admin html column
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
column "Username<br>Password<br>Account Name".html_safe do |combine| | |
safe_join( | |
[ | |
best_in_place(combine, :simulator_username, type: :input, path: "/admin/accounts/#{combine.id}"), | |
best_in_place(combine, :simulator_password, type: :input, path: "/admin/accounts/#{combine.id}"), | |
best_in_place(combine, :account_name, type: :input, path: "/admin/accounts/#{combine.id}") | |
], | |
tag(:br) | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment