Sha256: 729963cbfb551ccf898cddde3a7e537b15ebfb5cebd158ddbab1464d8d16330f
Contents?: true
Size: 354 Bytes
Versions: 3
Compression:
Stored size: 354 Bytes
Contents
module KonoUtils::Object::Cell::Buttons # namespace class Create < Base def url_to options[:url_to] || new_custom_polymorphic_path(model) end def specific_button_class "btn-success" end def button_title title_new end def button_content options.fetch(:content, fa_icon("plus")) end end end
Version data entries
3 entries across 3 versions & 1 rubygems