Module: ThinkFeelDoDashboard::UsersHelper
- Defined in:
- app/helpers/think_feel_do_dashboard/users_helper.rb
Overview
Used in the participant ‘show’ page to create dynamic routes
Instance Method Summary collapse
Instance Method Details
#admin_status(is_admin) ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/helpers/think_feel_do_dashboard/users_helper.rb', line 4 def admin_status(is_admin) if is_admin "<span class=\"label label-primary\">Super User</span> ".html_safe else "" end end |