Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
2ab15c19
Commit
2ab15c19
authored
Jun 06, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Display recovery form labels
Followup of
nexedi/erp5@340accd1
parent
4fa3a1b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
41 deletions
+45
-41
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/WebSite_viewRecoverAccount.zpt
...skins/erp5_web_renderjs_ui/WebSite_viewRecoverAccount.zpt
+22
-20
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/WebSite_viewResetPassword.zpt
..._skins/erp5_web_renderjs_ui/WebSite_viewResetPassword.zpt
+23
-21
No files found.
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/WebSite_viewRecoverAccount.zpt
View file @
2ab15c19
...
...
@@ -22,28 +22,30 @@
</div>
</div>
<div
class=
"gadget-content"
>
<article>
<div
data-role=
"page"
>
<div
class=
"gadget-content"
>
<article>
<section>
<form
method=
"post"
tal:attributes=
"action python: context.absolute_url()"
>
<div
class=
"ui-field-contain"
>
<label
i18n:domain=
"ui"
i18n:translate=
""
>
Login
</label>
<div><input
autofocus
type=
"text"
name=
"user_login"
value=
""
required=
""
></div>
</div>
<br/>
<div
class=
"ui-field-contain"
>
<label></label>
<div><input
type=
"submit"
value=
"Validate"
i18n:attributes=
"value"
i18n:domain=
"ui"
tal:attributes=
"name python: '%s:method' % (form_action, )"
/></div>
</div>
<section>
<form
method=
"post"
tal:attributes=
"action python: context.absolute_url()"
>
<div
class=
"ui-field-contain"
>
<label
i18n:domain=
"ui"
i18n:translate=
""
>
Login
</label>
<div><input
autofocus
type=
"text"
name=
"user_login"
value=
""
required=
""
></div>
</div>
<br/>
<div
class=
"ui-field-contain"
>
<label></label>
<div><input
type=
"submit"
value=
"Validate"
i18n:attributes=
"value"
i18n:domain=
"ui"
tal:attributes=
"name python: '%s:method' % (form_action, )"
/></div>
</div>
<input
type=
"hidden"
name=
"url"
tal:attributes=
"value python: context.absolute_url()"
/>
<input
tal:condition=
"exists: request/came_from"
type=
"hidden"
name=
"came_from"
tal:attributes=
"value request/came_from"
/>
</form>
</section>
</article>
<input
type=
"hidden"
name=
"url"
tal:attributes=
"value python: context.absolute_url()"
/>
<input
tal:condition=
"exists: request/came_from"
type=
"hidden"
name=
"came_from"
tal:attributes=
"value request/came_from"
/>
</form>
</section>
</article>
</div>
</div>
</body>
</html>
\ No newline at end of file
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/WebSite_viewResetPassword.zpt
View file @
2ab15c19
...
...
@@ -21,29 +21,31 @@
</div>
</div>
<div
class=
"gadget-content"
>
<article
class=
"ui-content"
>
<div
data-role=
"page"
>
<div
class=
"gadget-content"
>
<article
class=
"ui-content"
>
<section>
<form
method=
"post"
tal:attributes=
"action python: context.absolute_url()"
>
<div
class=
"ui-field-contain"
>
<label
data-i18n=
"New Password"
>
New Password
<span></span></label>
<div><input
autofocus
name=
"password"
type=
"password"
value=
""
required=
""
></div>
</div>
<div
class=
"ui-field-contain"
>
<label
data-i18n=
"Retype New Password"
>
Retype New Password
<span></span></label>
<div><input
name=
"password_confirm"
type=
"password"
value=
""
required=
""
></div>
</div>
<div
class=
"ui-field-contain"
>
<label></label>
<div><input
type=
"submit"
value=
"Validate"
tal:attributes=
"name python: '%s:method' % (form_action, )"
/></div>
</div>
<section>
<form
method=
"post"
tal:attributes=
"action python: context.absolute_url()"
>
<div
class=
"ui-field-contain"
>
<label
data-i18n=
"New Password"
>
New Password
<span></span></label>
<div><input
autofocus
name=
"password"
type=
"password"
value=
""
required=
""
></div>
</div>
<div
class=
"ui-field-contain"
>
<label
data-i18n=
"Retype New Password"
>
Retype New Password
<span></span></label>
<div><input
name=
"password_confirm"
type=
"password"
value=
""
required=
""
></div>
</div>
<div
class=
"ui-field-contain"
>
<label></label>
<div><input
type=
"submit"
value=
"Validate"
tal:attributes=
"name python: '%s:method' % (form_action, )"
/></div>
</div>
<input
type=
"hidden"
name=
"came_from"
tal:attributes=
"value python: context.absolute_url()"
/>
<input
type=
"hidden"
name=
"password_key"
tal:attributes=
"value python: request.get('reset_key') or ''"
/>
</form>
</section>
</article>
<input
type=
"hidden"
name=
"came_from"
tal:attributes=
"value python: context.absolute_url()"
/>
<input
type=
"hidden"
name=
"password_key"
tal:attributes=
"value python: request.get('reset_key') or ''"
/>
</form>
</section>
</article>
</div>
</div>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment