Skip to content

Commit

Permalink
[2556] Add large input to primer
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jun 21, 2012
1 parent 7a50378 commit d7b566f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ckan/public/base/less/forms.less
Expand Up @@ -99,9 +99,8 @@ textarea {
// Override the default form widths.
.form-horizontal .control-label {
width: 120px;
font-size: 13px;
line-height: 1.3;
padding-top: 12px;
padding-top: 9px;
}

.form-horizontal .control-large input,
Expand All @@ -115,7 +114,7 @@ textarea {
}

.form-horizontal .controls {
margin-left: 125px;
margin-left: 130px;
}

.form-horizontal .info-block {
Expand Down
1 change: 1 addition & 0 deletions ckan/templates/development/snippets/form.html
Expand Up @@ -5,6 +5,7 @@
{{ form.input('standard', label=_('Standard'), placeholder=_('Standard Input'), value='', error=error, classes=[]) }}
{{ form.input('standard', label=_('Medium'), placeholder=_('Medium Width Input'), value='', error=error, classes=['control-medium']) }}
{{ form.input('standard', label=_('Full'), placeholder=_('Full Width Input'), value='', error=error, classes=['control-full']) }}
{{ form.input('standard', label=_('Large'), placeholder=_('Large Input'), value='', error=error, classes=['control-full', 'control-large']) }}
{{ form.prepend('slug', label=_('Prepend'), prepend='prefix', placeholder=_('Prepend Input'), value='', error=error, classes=[]) }}
{{ form.custom(
names=('custom_key', 'custom_value', 'custom_deleted'),
Expand Down

0 comments on commit d7b566f

Please sign in to comment.