Sha256: db6b8f9f94ceab55fd43eaa44b01f2238904b7adb9268fbe1ac13d65829bc99d

Contents?: true

Size: 1.27 KB

Versions: 11

Compression:

Stored size: 1.27 KB

Contents

.row
  .col-md-2
  .col-md-8
    .panel.panel-default
      .panel-body
        .author
          %img.pull-right.thumbnail{ src: entity.gravatar }
          %h4= entity.email

        %hr
        %p.description
          %label Name:
          = entity.name
        %p.description
          %label Surname:
          = entity.surname
        %p.description
          %label Roles:
          = entity.roles_dataset.map(:name).map(&:titlecase).join(', ')
        %p.description
          %label Signed up:
          = entity.created_at.strftime('%Y-%m-%d %H:%M:%S')
  .col-md-2

.row
  .col-md-2
  .col-md-8
    .panel.panel-default
      .panel-heading
        %h4 Change Password
      .panel-body
        %form.form-horizontal{ method: 'post', action: "#{base_path}/#{entity.id}/identity" }
          %input{ name: '_method', value: 'PUT', type: 'hidden' }
          = form_control(:old_password, identity, type: 'password', placeholder: 'Your current password')
          = form_control(:password, identity, type: 'password', placeholder: 'Your new password')
          = form_control(:password_confirmation, identity, type: 'password', label: 'Confirm Password', placeholder: 'Confirm your password')
          %button.btn.btn-primary{ type: 'submit' }
            Change Password
  .col-md-2

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
ditty-0.3.0 views/users/profile.haml
ditty-0.2.2 views/users/profile.haml
ditty-0.2.1 views/users/profile.haml
ditty-0.2.0 views/users/profile.haml
proxes-0.7.1 views/users/profile.haml
proxes-0.7.0 views/users/profile.haml
proxes-0.6.1 views/users/profile.haml
proxes-0.6.0 views/users/profile.haml
proxes-0.5.2 views/users/profile.haml
proxes-0.5.1 views/users/profile.haml
proxes-0.5.0 views/users/profile.haml