Added full input validation to the Create Event including unique event name and slug validation as well as email validation. The appropriate template data required for this from Event and DemoUser model is passed in upon rendering the create_event html template
This commit is contained in:
parent
4ca3398683
commit
7fb52678ef
4 changed files with 613 additions and 106 deletions
|
@ -135,6 +135,8 @@ div.formset_object {
|
|||
|
||||
/* Error */
|
||||
.errorText {
|
||||
margin-top: 0.5em;
|
||||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue