Sha256: af77bf158533a821d9b00830b5154d628896070daa1a5d95c2eaba988ff7770b

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

module Utilities::ModalHelper
  ##
  # Metodo speciale per l'inclusione del contenuto nelle modal, forzando il flush in modo da poter utilizzare
  # piĆ¹ modal contemporaneamente
  def content_for_modal(*args, &block)
    opts = args.extract_options!
    content_for(*args, opts.merge(flush: true), &block)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
base_editing_bootstrap-0.1.4 app/helpers/utilities/modal_helper.rb
base_editing_bootstrap-0.1.2 app/helpers/utilities/modal_helper.rb