mod/standard/set/all/rich_html/frame.rb in card-1.97.0.1 vs mod/standard/set/all/rich_html/frame.rb in card-1.98.0

- old
+ new

@@ -1,7 +1,7 @@ format :html do - view :flash, cache: :never, tags: :unknown_ok do + view :flash, cache: :never, unknown: true, perms: :none do flash_notice = params[:flash] || Env.success.flash return "" unless flash_notice.present? && focal? Array(flash_notice).join "\n" end @@ -16,12 +16,13 @@ end end def with_frame slot=true, header=frame_header, slot_opts={} voo.hide :help + add_name_context wrap slot, slot_opts do panel do - [header, frame_help, _render(:flash), (yield if block_given?)] + [header, frame_help, render_flash, (yield if block_given?)] end end end def frame_header