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:
vince0656 2018-06-14 17:01:14 +01:00
parent 4ca3398683
commit 7fb52678ef
4 changed files with 613 additions and 106 deletions

View file

@ -135,6 +135,8 @@ div.formset_object {
/* Error */
.errorText {
margin-top: 0.5em;
font-weight: bold;
color: red;
}