Add progress indicator to sign-up flow (#24545)
This commit is contained in:
		
					parent
					
						
							
								955ec252a4
							
						
					
				
			
			
				commit
				
					
						e5c0b16735
					
				
			
		
					 76 changed files with 157 additions and 105 deletions
				
			
		|  | @ -117,6 +117,10 @@ module ApplicationHelper | |||
|     content_tag(:i, nil, attributes.merge(class: class_names.join(' '))) | ||||
|   end | ||||
| 
 | ||||
|   def check_icon | ||||
|     content_tag(:svg, tag(:path, 'fill-rule': 'evenodd', 'clip-rule': 'evenodd', d: 'M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z'), xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 20 20', fill: 'currentColor') | ||||
|   end | ||||
| 
 | ||||
|   def visibility_icon(status) | ||||
|     if status.public_visibility? | ||||
|       fa_icon('globe', title: I18n.t('statuses.visibilities.public')) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue