diff options
| author | Jocelyn Delalande <jocelyn@crapouillou.net> | 2017-02-01 19:41:55 +0100 |
|---|---|---|
| committer | Jocelyn Delalande <jocelyn@crapouillou.net> | 2017-02-04 00:41:05 +0100 |
| commit | 286213026982435e6e87cdbbd5dddcd80e925b91 (patch) | |
| tree | 0afd5f1693f69629b2a8fd45c82d81ef5a288852 /budget/templates/home.html | |
| parent | 37da1db38ac17209f6ab6832a0bf5052ae81475b (diff) | |
| download | ihatemoney-mirror-286213026982435e6e87cdbbd5dddcd80e925b91.zip ihatemoney-mirror-286213026982435e6e87cdbbd5dddcd80e925b91.tar.gz ihatemoney-mirror-286213026982435e6e87cdbbd5dddcd80e925b91.tar.bz2 | |
Adapt to bootstrap 4 forms
- Adapt to BS4 class names and hierarchy
- Redesign some forms to have the label above the input (mobile-friendly)
- For the remaining inline form (add bill), use the grid, as BS no longer
provides inline form alignment helpers
Diffstat (limited to 'budget/templates/home.html')
| -rw-r--r-- | budget/templates/home.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/budget/templates/home.html b/budget/templates/home.html index b9a2b46..e6d7932 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -20,7 +20,7 @@ <div class="row-fluid home"> <div class="span4 offset2"> <form id="authentication-form" class="form-horizontal" action="{{ url_for(".authenticate") }}" method="post"> - <fieldset> + <fieldset class="form-group"> <legend>{{ _("Log to an existing project") }}...</legend> {{ forms.authenticate(auth_form, home=True) }} </fieldset> @@ -32,7 +32,7 @@ </div> <div class="span4"> <form id="creation-form" class="form-horizontal" action="{{ url_for(".create_project") }}" method="post"> - <fieldset> + <fieldset class="form-group"> <legend>...{{ _("or create a new one") }}</legend> {{ forms.create_project(project_form, home=True) }} </fieldset> |
