mod/account/set/right/account.rb in card-1.96.8 vs mod/account/set/right/account.rb in card-1.97.0
- old
+ new
@@ -123,14 +123,12 @@
end
def reset_password_success
token_card.used!
Auth.signin left_id
- { id: left.name,
- view: :related,
- slot: { items: { nest_name: :account.cardname.prepend_joint,
- view: :edit } } }
+ { id: name,
+ view: :edit }
end
def reset_password_try_again
send_reset_password_token
{ id: "_self",
@@ -174,11 +172,11 @@
view :raw do
# FIXME: use field_nest instead of parsing content
# Problem: when you do that then the fields are missing in the sign up form:
# output( [field_nest(:email, view: :titled, title: "email"),
# field_nest(:password, view: :titled, title: "password")])
- %({{+#{:email.cardname}|titled;title:email}}
- {{+#{:password.cardname}|titled;title:password}})
+ %({{+#{:email.cardname}|edit_row;title:email}}
+ {{+#{:password.cardname}|edit_row;title:password}})
end
before :content_formgroup do
voo.edit_structure = [[:email, "email"], [:password, "password"]]
end