Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_sign_in_register_button.html.haml « header « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cadb7cfe6837563bec0d4f2f4ea293a3447ddb50 (plain)
1
2
3
4
5
6
7
- top_class = local_assigns.fetch(:class, nil)

%li.nav-item{ class: top_class }
  %div
    - sign_in_text = allow_signup? ? _('Sign in / Register') : _('Sign in')
    = render Pajamas::ButtonComponent.new(href: new_session_path(:user, redirect_to_referer: 'yes'), button_options: { class: 'btn-sign-in'}) do
      = sign_in_text