Sha256: 11855e89e9eaa1bf24a1dd26d42ba87cb60651abd2131e6ffdd3df4585f08745

Contents?: true

Size: 288 Bytes

Versions: 13

Compression:

Stored size: 288 Bytes

Contents

module ThinkFeelDoDashboard
  # Used in the participant 'show' page to create dynamic routes
  module UsersHelper
    def admin_status(is_admin)
      if is_admin
        "<span class=\"label label-primary\">Super User</span> ".html_safe
      else
        ""
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
think_feel_do_dashboard-1.2.0.beta1 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.21 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.20 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.19 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.18 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.17 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.16 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.15 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.14 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.13 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.12 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.11 app/helpers/think_feel_do_dashboard/users_helper.rb
think_feel_do_dashboard-1.1.10 app/helpers/think_feel_do_dashboard/users_helper.rb