Sha256: 7faeb922c7d57351a90b199251f78092fbcb83964248c9bb11f2d7971620fe33

Contents?: true

Size: 612 Bytes

Versions: 6

Compression:

Stored size: 612 Bytes

Contents

h1 Admin User settings

= simple_form_for @user, url: my_account_path do |f|
  = f.input :email
  = f.input :password
  = f.input :password_confirmation
  = f.button :submit

- if defined?(Devise)
  .well
    h3 Usage info
    p
      b sign in count:
      =< @user.sign_in_count
    p
      b last sign in time:
      =< l @user.last_sign_in_at, format: :long
    p
      b current sign in ip:
      =< @user.current_sign_in_ip
    p
      b last sign in ip:
      =< @user.last_sign_in_ip

    - if @user.respond_to?(:failed_attempts)
      p
        b failed login attempts:
        =< @user.failed_attempts

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cardboard_cms-0.3.1 app/views/cardboard/my_account/edit.html.slim
cardboard_cms-0.2.2 app/views/cardboard/my_account/edit.html.slim
cardboard_cms-0.2.1 app/views/cardboard/my_account/edit.html.slim
cardboard_cms-0.1.8 app/views/cardboard/my_account/edit.html.slim
cardboard_cms-0.1.6 app/views/cardboard/my_account/edit.html.slim
cardboard_cms-0.1.4 app/views/cardboard/my_account/edit.html.slim