Method: ScrivitoHelper#scrivito_large_dialog

Defined in:
app/helpers/scrivito_helper.rb

#scrivito_large_dialog(&block) ⇒ String

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

Examples:

scrivito_large_dialog do
  scrivito_details_for('Title and Category') do
    concat scrivito_tag(:div, @obj, :title)
    concat scrivito_tag(:div, @obj, :category)
  end
end

Parameters:

  • block (Proc)

    Block to render inner HTML.

Returns:

  • (String)


357
358
359
# File 'app/helpers/scrivito_helper.rb', line 357

def scrivito_large_dialog(&block)
  Scrivito::DialogSizeHelper.render_dialog_with_size(self, 'large', &block)
end