Minor update form
This commit is contained in:
parent
f39ee101e4
commit
aaa17ff9ba
|
@ -1,9 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
<!-- {% block page_title %}.: New Event :.{% endblock %} -->
|
||||
|
||||
<!-- {% block title %}Event{% endblock %} -->
|
||||
|
||||
{% block content %}
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12 col-sm-12 col-md-8 col-lg-8 col-xl-6">
|
||||
|
@ -63,7 +59,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group text-center">
|
||||
<input type="submit" value="Save" class="btn btn-warning" />
|
||||
<input type="submit" value="Sav-e" class="btn btn-warning" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -39,11 +39,7 @@ class PlaceForm(forms.ModelForm):
|
|||
# attrs={"class": "form-control", "placeholder": "Travel time"}
|
||||
# ),
|
||||
"active": forms.CheckboxInput(
|
||||
attrs={
|
||||
"class": "bootstrap-switch pt-2",
|
||||
"data-on-label": "<i class='tim-icons icon-check-2 text-success'></i>",
|
||||
"data-off-label": "<i class='tim-icons icon-simple-remove text-danger'></i>",
|
||||
}
|
||||
attrs={"class": "form-control form-check-input ml-0 mt-0"}
|
||||
),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue