mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Do not use readonly checkboxes to render information
Just render `Yes` or `No` instead of a disabled checkbox with these two options in the recent users section of conference#index.
This commit is contained in:
parent
dcd10f170f
commit
f64cd7323f
1 changed files with 1 additions and 4 deletions
|
|
@ -14,10 +14,7 @@
|
|||
%td= link_to user.email, admin_user_path(user.id)
|
||||
%td= user.created_at.strftime('%m/%d/%Y')
|
||||
%td
|
||||
= check_box_tag user.id, user.id, user.confirmed?,
|
||||
url: "/admin/users/#{user.id}/toggle_confirmation?user[to_confirm]=",
|
||||
class: 'switch-checkbox',
|
||||
readonly: true
|
||||
= user.confirmed? ? 'Yes' : 'No'
|
||||
- else
|
||||
%h5.text-warning.text-center
|
||||
No sign ups!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue