first pass, non-working
This commit is contained in:
		
							parent
							
								
									459a9c2c59
								
							
						
					
					
						commit
						3c2f4a0445
					
				
					 17 changed files with 295 additions and 121 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| {% extends 'layout.html' %} | ||||
| {% from 'macros.html' import render_form, render_field %} | ||||
| {% block body %} | ||||
|   {% call render_form(form, action_url=url_for('auth.register'), action_text='Register', btn_class='btn btn-primary') %} | ||||
|   {% call render_form(form, action_url=url_for('auth.local.register'), action_text='Register', btn_class='btn btn-primary') %} | ||||
|     {{ render_field(form.username, placeholder='Username', type='username', **{"required": 1, "data-parsley-type": "alphanum"}) }} | ||||
|     {{ render_field(form.email, placeholder='Email', type='email', required=1) }} | ||||
|     {{ render_field(form.password, placeholder='Password', type='password', **{"required": 1, "data-parsley-minlength": "6"}) }} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue