Fixed css for login/register and added public code
This commit is contained in:
parent
f139e6d040
commit
d5f77b6878
@ -26,7 +26,7 @@ class UserRegisterForm(UserCreationForm):
|
||||
invite_code = forms.CharField(max_length=64,
|
||||
label="invite_code",
|
||||
empty_value="code",
|
||||
# help_text="",
|
||||
help_text="guys if u dont have a code<br>u can try the code: <code><b>public</b></code>",
|
||||
required=True,
|
||||
validators=[invitecode_validator,])
|
||||
|
||||
|
||||
@ -1,12 +1,19 @@
|
||||
#users-container {
|
||||
width: 640px;
|
||||
height: 480px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#users-box {
|
||||
background-color: #20B0FF;
|
||||
width: 280px;
|
||||
height: 280px;
|
||||
padding: 8px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.form-text {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.invalid-feedback {
|
||||
display: block;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user