Use local vars in partials (#1935)
* Use local vars in accounts/header partial * Use local variable in 2fa recovery codes partial
This commit is contained in:
		@@ -20,7 +20,7 @@
 | 
			
		||||
.h-feed
 | 
			
		||||
  %data.p-name{ value: "#{@account.username} on #{Rails.configuration.x.local_domain}" }/
 | 
			
		||||
 | 
			
		||||
  = render partial: 'header'
 | 
			
		||||
  = render 'header', account: @account
 | 
			
		||||
 | 
			
		||||
  - if @statuses.empty?
 | 
			
		||||
    .accounts-grid
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user