Method: ScrivitoHelper#scrivito_small_dialog

Defined in:
app/helpers/scrivito_helper.rb

#scrivito_small_dialog(&block) ⇒ String

Set the size of the page and widget details dialog to small.

Examples:

scrivito_small_dialog do
  # see scrivito_large_dialog example
end

Parameters:

  • block (Proc)

    Block to render inner HTML.

Returns:

  • (String)


381
382
383
# File 'app/helpers/scrivito_helper.rb', line 381

def scrivito_small_dialog(&block)
  Scrivito::DialogSizeHelper.render_dialog_with_size(self, 'small', &block)
end