class Ezframe::Materialize::Card
Public Class Methods
base_layout(title: "", content: "")
click to toggle source
# File lib/ezframe/materialize.rb, line 131 def self.base_layout(title: "", content: "") Ht.multi_div([%w[row], %w[col s12], %w[card blue-grey darken-1], %w[card-content white-text]], [ Ht.span(class: %w[card-title], child: title), Ht.p(child: content), ]) end