Skip to content

Commit

Permalink
modified spanX classes to fit to nested fluid grids
Browse files Browse the repository at this point in the history
  • Loading branch information
felixebert committed Apr 23, 2013
1 parent 2fed825 commit bc9f6be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions froide/account/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ class NewUserForm(forms.Form):
first_name = forms.CharField(max_length=30,
label=_('First name'),
widget=forms.TextInput(attrs={'placeholder': _('First Name'),
'class': 'span2'}))
'class': 'span5'}))
last_name = forms.CharField(max_length=30,
label=_('Last name'),
widget=forms.TextInput(attrs={'placeholder': _('Last Name'),
'class': 'span2'}))
'class': 'span5'}))
address = forms.CharField(max_length=300,
required=False,
label=_('Mailing Address'),
help_text=_('Your address will not be displayed publicly and is only needed in case a public body needs to send you paper.'),
widget=forms.Textarea(attrs={
'rows': '3',
'class': 'span3',
'class': 'span7',
'placeholder': _('Street, Post Code, City'),
}))
user_email = forms.EmailField(label=_('Email address'),
Expand Down
2 changes: 2 additions & 0 deletions froide/account/templates/account/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ <h3>{% blocktrans %}Don't have an account? Sign up!{% endblocktrans %}</h3>
<form class="form-horizontal" method="post" action="{% url 'account-signup' %}">
{% csrf_token %}
{% if next %}<input type="hidden" name="next" value="{{ next }}"/>{% endif %}
<div class="row-fluid">
{% form signup_form using "bootstrap/horizontal.html" %}
</div>
<button type="submit" class="btn">{% blocktrans %}Sign Up{% endblocktrans %}</button>
</form>
</div>
Expand Down
4 changes: 2 additions & 2 deletions froide/foirequest/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ class RequestForm(forms.Form):
subject = forms.CharField(label=_("Subject"),
widget=forms.TextInput(
attrs={'placeholder': _("Subject"),
"class": "span5"}))
"class": "span8"}))
body = forms.CharField(label=_("Body"),
widget=forms.Textarea(
attrs={
'placeholder': _("Specify your request here..."),
"class": "span4"
"class": "span11"
}))
public = forms.BooleanField(required=False, initial=True,
label=_("This request will be public immediately."))
Expand Down

0 comments on commit bc9f6be

Please sign in to comment.