Sha256: 6f166cc6d6773a8e282774af854e0d69445c71c218834c401c179131358e0342

Contents?: true

Size: 335 Bytes

Versions: 21

Compression:

Stored size: 335 Bytes

Contents

- if defined?(current_account) && current_account
  %p.user
    = t('bhf.helpers.user.login.as', user: current_account.to_bhf_s).html_safe
    - if main_app.respond_to?(Bhf::Engine.config.logout_path)
      = link_to t('bhf.helpers.user.logout.link'), main_app.send(Bhf::Engine.config.logout_path), method: :delete, class: :alt_button

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
bhf-0.6.21 app/views/bhf/_user.haml