Retrospring/app/views/modal/privileges/_item.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
506 B
Plaintext
Raw Normal View History

2020-05-10 03:53:30 -07:00
:ruby
description ||= ""
2020-05-10 03:53:30 -07:00
%li.list-group-item{ id: "privilege-#{privilege}" }
.d-flex
.flex-shrink-0
2024-02-27 15:40:38 -08:00
%input{ type: :checkbox,
name: "check-your-privileges",
data: { type: privilege, user: user.screen_name },
checked: user.has_cached_role?(privilege.to_sym),
autocomplete: :off }
.flex-grow-1
2015-02-03 08:13:50 -08:00
.list-group-item-heading= privilege.capitalize
- unless description.blank?
2015-04-19 13:38:10 -07:00
.list-group-item-text.text-muted= description