Add example link for PGP pubkey
	
		
			
	
		
	
	
		
	
		
			Some checks are pending
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is running
				
			
		
		
	
	
				
					
				
			
		
			Some checks are pending
		
		
	
	continuous-integration/drone/push Build is running
				
			This commit is contained in:
		
							parent
							
								
									e66d134550
								
							
						
					
					
						commit
						655009ad7a
					
				@ -52,9 +52,11 @@
 | 
				
			|||||||
  <section class="!pt-8 sm:!pt-12">
 | 
					  <section class="!pt-8 sm:!pt-12">
 | 
				
			||||||
    <h3>OpenPGP</h3>
 | 
					    <h3>OpenPGP</h3>
 | 
				
			||||||
    <ul role="list">
 | 
					    <ul role="list">
 | 
				
			||||||
 | 
					      <% example_link = link_to "example", "https://accounts.kosmos.org/.well-known/openpgpkey/hu/yuca4ky39mhwkjo78qb8zjgbfj1hg3yf.txt?l=jimmy",
 | 
				
			||||||
 | 
					          target: "_blank", class: "text-gray-500 underline" %>
 | 
				
			||||||
      <%= render FormElements::FieldsetComponent.new(
 | 
					      <%= render FormElements::FieldsetComponent.new(
 | 
				
			||||||
            title: "Public key",
 | 
					            title: "Public key",
 | 
				
			||||||
            description: "Your OpenPGP public key in ASCII Armor format"
 | 
					            description: raw("Your OpenPGP public key in ASCII Armor format (#{example_link})")
 | 
				
			||||||
          ) do %>
 | 
					          ) do %>
 | 
				
			||||||
        <%= f.text_area :pgp_pubkey,
 | 
					        <%= f.text_area :pgp_pubkey,
 | 
				
			||||||
          value: @user.pgp_pubkey,
 | 
					          value: @user.pgp_pubkey,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user