Apply new form validation features to New Post form

- Use TextAreaField instead of StringField on forms.NewPostForm
- Fixed incorrect remember_me field and redirect in login
- Added placeholder usage to field rendering macro
This commit is contained in:
Xevion
2022-03-29 15:13:00 -05:00
parent 8cf2f02772
commit f41b83a15f
10 changed files with 47 additions and 46 deletions

View File

@@ -2,7 +2,7 @@
{% block content %}
<h3>Edit Profile</h3>
<form method="POST" action="{{ url_for('forms.edit_profile_post', username=user.username) }}" class="profile-form">
<form method="POST" action="{{ url_for('forms.edit_profile_post', username=user.username) }}" class="form">
<label>
Name<br>
<input type="text" name="name" value="{{ user.name }}">