Class: Ezframe::Materialize::Card
Class Method Summary collapse
Class Method Details
.base_layout(title: "", content: "") ⇒ Object
131 132 133 134 135 136 137 |
# 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 |