Sha256: 8ea0c72e86f31301894ee374c137d61e65185c6831a416f5eb7c3125bb3e659b

Contents?: true

Size: 495 Bytes

Versions: 4

Compression:

Stored size: 495 Bytes

Contents

$(function () {
  $('.login-form').each(function () {
    let container = this;

    function showTab(tabName) {
      $(container).find('.login-tab').hide();
      $(container).find(`.login-tab.${tabName}`).show();
      return false
    }

    $(container).find('.show-password').click(function () {
      return showTab('password');
    });

    $(container).find('.show-password-reset').click(function () {
      return showTab('password-reset');
    });

    showTab('password');
  });
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pages_core-3.6.2 app/assets/javascripts/pages/login_form.jsx
pages_core-3.6.1 app/assets/javascripts/pages/login_form.jsx
pages_core-3.6.0 app/assets/javascripts/pages/login_form.jsx
pages_core-3.5.1 app/assets/javascripts/pages/login_form.es6.jsx