Sha256: 4b809ff386acae67c4284a9325a77c97c8084410dcf6a85f8ebc58f1e39a1e4d
Contents?: true
Size: 479 Bytes
Versions: 16
Compression:
Stored size: 479 Bytes
Contents
class Card class Layout class UnknownLayout < Layout SCOPE = "mod.core.format.html_format".freeze def render @format.output [header, text] end def header @format.content_tag(:h1, @format.tr(:unknown_layout, scope: SCOPE, name: @layout)) end def text @format.tr(:available_layouts, scope: SCOPE, available_layouts: self.class.built_in_layouts) end end end end
Version data entries
16 entries across 16 versions & 2 rubygems