Sha256: 7da088db2b6c28f62fce170869fd63e1304932660dc299cafee1104cc91c3ff4
Contents?: true
Size: 1.53 KB
Versions: 4
Compression:
Stored size: 1.53 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') .row .col-md-6 - if policy(entity).update? %a.btn.btn-default{ href: "#{base_path}/#{entity.id}/edit" } Edit .col-md-6.text-right - if policy(entity).delete? = delete_form_tag("#{base_path}/#{entity.id}") do %button.btn.btn-warning{ type: 'submit' } Delete .col-md-2 - if entity.identity.first .row .col-md-2 .col-md-8 .panel.panel-default .panel-heading %h4 Change Password .panel-body = edit_form_tag("#{base_path}/#{entity.id}/identity") do = form_control(:password, entity.identity.first, type: 'password', placeholder: 'Your password', group: 'identity') = form_control(:password_confirmation, entity.identity.first, type: 'password', label: 'Confirm Password', placeholder: 'Confirm your password', group: 'identity') %button.btn.btn-primary{ type: 'submit' } Change Password .col-md-2
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ditty-0.7.2 | views/users/display.haml |
ditty-0.7.1 | views/users/display.haml |
ditty-0.7.0 | views/users/display.haml |
ditty-0.7.0.pre.rc1 | views/users/display.haml |