Add copyable_input helper method to wrap shared options (#32119)
				
					
				
			This commit is contained in:
		@@ -240,6 +240,10 @@ module ApplicationHelper
 | 
			
		||||
    full_asset_url(instance_presenter.mascot&.file&.url || frontend_asset_path('images/elephant_ui_plane.svg'))
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def copyable_input(options = {})
 | 
			
		||||
    tag.input(type: :text, maxlength: 999, spellcheck: false, readonly: true, **options)
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
  def storage_host_var
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user