Skip to content

Instantly share code, notes, and snippets.

@wrburgess
Created February 27, 2014 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wrburgess/9260587 to your computer and use it in GitHub Desktop.
Save wrburgess/9260587 to your computer and use it in GitHub Desktop.
active admin html column
column "Username<br>Password<br>Account&nbsp;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