Sha256: 299404ae6d5684f371f622526ba2e0e0af59fcdf90bdf31ca1d2fc7f62c7ffae
Contents?: true
Size: 515 Bytes
Versions: 10
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true module BootstrapLeather # Modals, i.e. content box that pops up over main document, shading out the # background module ModalsHelper def modal(id, title = '', close_text = 'Close', html_options = {}, &block) render( partial: 'bootstrap_leather/modals/modal', locals: { id: id, close_text: close_text, title: title, block: capture(&block), html_options: html_options } ) end end end
Version data entries
10 entries across 10 versions & 1 rubygems