Change server rules to be collapsible (#33039)
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user