Changeset 07f5190 in OpenWorkouts-current


Ignore:
Timestamp:
Feb 19, 2019, 12:46:30 PM (4 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
b8ef4ab
Parents:
91517b1
Message:

Fixed #60 - signup form does not keep values on error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/signup.pt

    r91517b1 r07f5190  
    2222              <input placeholder="We need a valid email address"
    2323                     type="text" name="email"
    24                      value="" i18n:attributes="placeholder">
     24                     value="" i18n:attributes="placeholder"
     25                     tal:attributes="value form.data.get('email', '')">
    2526            </div>
    2627            <div>
     
    2829              <label for="nickname" i18n:translate="">Nickname</label>
    2930              <input placeholder="Choose a cool nickname" type="text"
    30                      name="nickname" value="" i18n:attributes="placeholder">
     31                     name="nickname" value=""
     32                     i18n:attributes="placeholder"
     33                     tal:attributes="value form.data.get('nickname', '')">
    3134            </div>
    3235            <div>
     
    3437              <label for="firstname" i18n:translate="">First name</label>
    3538              <input placeholder="Your real first name here" type="text"
    36                      name="firstname" value="" i18n:attributes="placeholder">
     39                     name="firstname" value="" i18n:attributes="placeholder"
     40                     tal:attributes="value form.data.get('firstname', '')">
    3741            </div>
    3842            <div>
     
    4044              <label for="lastname" i18n:translate="">Last name</label>
    4145              <input placeholder="Your family name here" type="text"
    42                      name="lastname" value="" i18n:attributes="placeholder">
     46                     name="lastname" value="" i18n:attributes="placeholder"
     47                     tal:attributes="value form.data.get('lastname', '')">
    4348            </div>
    4449            <div>
Note: See TracChangeset for help on using the changeset viewer.