Change server rules to be collapsible (#33039)
This commit is contained in:
parent
4635ce2926
commit
986a3676d3
5 changed files with 51 additions and 131 deletions
|
@ -19,8 +19,9 @@
|
|||
%ol.rules-list
|
||||
- @rules.each do |rule|
|
||||
%li
|
||||
.rules-list__text= rule.text
|
||||
.rules-list__hint= rule.hint
|
||||
%button{ type: 'button', aria: { expanded: 'false' } }
|
||||
.rules-list__text= rule.text
|
||||
.rules-list__hint= rule.hint
|
||||
|
||||
.stacked-actions
|
||||
- accept_path = @invite_code.present? ? public_invite_url(invite_code: @invite_code, accept: @accept_token) : new_user_registration_path(accept: @accept_token)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue