Class: KonoUtils::Object::Cell::Buttons::Edit
  
  
  
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  #_prefixes, #base_class, #concept, #content_for_layout, #content_for_layout?, #destroy_custom_polymorphic_path, #edit_custom_polymorphic_path, #index_custom_polymorphic_path, #kono_user, #legacy_concept, logger, #model_gender, #new_custom_polymorphic_path, #show, #show_custom_polymorphic_path, #title_del, #title_del_g, #title_edit_g, #title_mod, #title_new, #title_new_g, #title_newa, #title_show_g
  
  
  
  
  
  
  
  
  
  
  #fa_icon, #icon
  
  
  
  
    Instance Method Details
    
      
  
  
    #button_content  ⇒ Object 
  
  
  
  
    
      
15
16
17 
     | 
    
      # File 'app/concepts/kono_utils/object/cell/buttons/edit.rb', line 15
def button_content
  options.fetch(:content, fa_icon("edit"))
end
     | 
  
 
    
      
  
  
    
      
11
12
13 
     | 
    
      # File 'app/concepts/kono_utils/object/cell/buttons/edit.rb', line 11
def specific_button_class
  'btn-primary'
end 
     | 
  
 
    
      
  
  
    
      
7
8
9 
     | 
    
      # File 'app/concepts/kono_utils/object/cell/buttons/edit.rb', line 7
def url_to
  options[:url_to] || edit_custom_polymorphic_path(model)
end 
     |