Commit 5d34a599 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

forms are now pretty for lookouts

parent 35b296bd
......@@ -11,10 +11,8 @@ class LookoutForm( forms.ModelForm ):
def __init__(self, *args, **kwargs):
self.helper = FormHelper()
self.helper.form_method = 'POST'
self.helper.form_class = 'form-horizontal'
self.helper.label_class='col-sm-2'
self.helper.field_class='col-sm-6'
self.helper.label_class='col-md-2 col-md-offset-1 text-center be-bold'
self.helper.field_class='col-sm-8'
self.helper.layout = Layout(
Fieldset("",
......
......@@ -30,7 +30,9 @@ SRCT Bookshare • Creare Lookout
<h1 class="panel-title text-center"><strong><i class="fa fa-plus-circle"></i> Add Your Lookout</strong></h1>
</div>
<div class="panel-body">
{% crispy my_form %}
<div class="row">
{% crispy my_form %}
</div>
</div>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment