Module: Card::Set::Right::Account::Views::HtmlFormat

Extended by:
AbstractFormat
Defined in:
card/tmpsets/set/mod011-card-mod-account/right/account/views.rb,
card/tmpsets/set/mod010-card-mod-account/right/account/views.rb

Instance Method Summary collapse

Instance Method Details

#account_field_nest(field, title) ⇒ Object



54
55
56
57
# File 'card/tmpsets/set/mod011-card-mod-account/right/account/views.rb', line 54

def  field, title
  field_nest field, title: title, view: :labeled
  # edit: :inline, hide: [:help_link, :bridge_link]
end

#view: coreObject



49
50
51
52
# File 'card/tmpsets/set/mod011-card-mod-account/right/account/views.rb', line 49

view :core do
  [(:email, "email"),
   (:password, "password")]
end

#view: token_expiryObject



63
64
65
# File 'card/tmpsets/set/mod011-card-mod-account/right/account/views.rb', line 63

view :token_expiry do
  "<p><em>#{token_expiry_sentence}</em></p>"
end