Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

render_form should accept layout template as a parameter #305

Merged
merged 11 commits into from Jun 30, 2020

Conversation

vidya-ram
Copy link
Member

@vidya-ram vidya-ram commented Jun 17, 2020

No description provided.

@vidya-ram vidya-ram changed the title Add support to use template for render_form. Add password strength pr… render_form should accept layout template as a parameter Jun 17, 2020
@vidya-ram vidya-ram marked this pull request as ready for review June 18, 2020 04:11
@vidya-ram vidya-ram requested a review from jace June 18, 2020 04:23
baseframe/forms/auto.py Show resolved Hide resolved
baseframe/static/js/baseframe-material.js Outdated Show resolved Hide resolved
Comment on lines 60 to 63
if not layout_template:
layout_template = THEME_FILES[current_app.config['theme']][
'ajaxform.html.jinja2'
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, ajaxform.html.jinja2 is not a layout template. It's a regular template. formlayout.html.jinja2 is the layout template.

@vidya-ram vidya-ram merged commit da25171 into master Jun 30, 2020
@vidya-ram vidya-ram deleted the password-strength branch June 30, 2020 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants