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

@@ -256,7 +256,7 @@ nav, footer {
}
}
.profile-form {
.form {
margin: 0 auto;
width: 80%;
@@ -264,6 +264,11 @@ nav, footer {
margin: 0.5em auto;
height: 10em;
width: 100%;
resize: vertical;
}
&.post-form {
border: none;
}
button {
@@ -374,6 +379,7 @@ form {
&[type="submit"] {
width: 100%;
}
//background: #ecf0f1;
border: #ccc 1px solid;
border-bottom: #ccc 2px solid;