Also if you look carefully this out put code is not consistent.
If you look at the "verify password" field it is not using
class="w2p_fl|fw|fc"
Its just wrapped in a label.
Snippet from Register form.
<tr id="auth_user_password__row"><td class="w2p_fl"><label
for="auth_user_password" id="auth_user_password__label">Password:
</label></td><td class="w2p_fw"><input class="password"
id="auth_user_password" name="password" type="password" value=""
/></td><td class="w2p_fc"></td></tr><tr
id="auth_user_password_two__row"><td><label>Verify
Password:</label></td><td><input name="password_two" type="password"
/></td><td>please input your password again</td></tr><tr
id="submit_record__row"><td class="w2p_fl"></td><td
class="w2p_fw"><input type="submit" value="Submit" /></td><td
class="w2p_fc"></td></tr></table><div class="hidden"><input name="_next"
type="hidden" value="/app/default/index" /><input name="_formkey"
type="hidden" value="2854b30e-a066-47c4-a9e2-f6902b899e7c" /><input
name="_formname" type="hidden" value="register" /></div></form>
On 12/29/10 2:02 PM, Bruno Rocha wrote:
you can set labels to auth_user table
db.auth_user.first_name.label = 'F Name'
db.auth_user.last_name.label = 'WHATEVER'
If you mean extra link in login/register form, simply edit
/views/default/user.html
2010/12/29 David J. <[email protected] <mailto:[email protected]>>
Where is the code that Generates the FORMs?
What is the best way to modify this; Currently when it outputs the
key name
It puts a colon; ex. "First Name:" instaead of just "First Name"
I simply want to remove that from the form.
Also on the links of the welcome app; That generate the "[ login |
register | lost pasword? ]" links
I want to remove all those extra chars.
I checked the templates I dont see it in there; I also see
something in gluon.tools.py <http://gluon.tools.py> but I dont
want to modify gluon code.
Thanks.
--
Bruno Rocha
http://about.me/rochacbruno/bio