class Playbook::PbDialog::Dialog
def classname
def classname generate_classname("pb_dialog pb_dialog_rails pb_dialog_#{size}_#{placement}") end
def full_height_style
def full_height_style if full_height && size === "xl" "full_height_center" elsif full_height && size != "xl" "full_height_#{placement}" end end
def overlay_close
def overlay_close !should_close_on_overlay_click ? "overlay_close" : "" end
def status_alerts
def status_alerts alerts = { "info" => %w[info-circle default], "default" => %w[exclamation-circle default], "caution" => %w[exclamation-triangle yellow], "delete" => %w[trash-alt red], "error" => %w[times-circle red], "success" => %w[check-circle green], } alerts[status] end