Skip to content

Commit

Permalink
IMP l10n_it_website_portal_ipa: auto_install and fix web page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
eLBati committed Dec 11, 2019
1 parent e715503 commit 5b5b5fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion l10n_it_website_portal_ipa/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
],
"data": [
"views/portal_templates.xml",
]
],
"auto_install": True,
}
8 changes: 4 additions & 4 deletions l10n_it_website_portal_ipa/views/portal_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
<div class="col-xl-12" t-if="partner.company_type == 'company'">
<div class="row">
<div t-attf-class="form-group #{error.get('is_pa') and 'o_has_error' or ''} col-xl-6">
<label class="col-form-label label-optional" for="is_pa">
Public administration
</label>
<input type="checkbox" class="form-control"
<input type="checkbox" style="width: auto; margin:0px"
name="is_pa" id="is_pa"
t-att-checked="is_pa or partner.is_pa"/>
<label class="label-optional" style="margin-left:5px" for="is_pa">
Public administration
</label>
</div>
<div t-attf-class="form-group #{error.get('ipa_code') and 'o_has_error' or ''} col-xl-6">
<label class="col-form-label label-optional">
Expand Down

0 comments on commit 5b5b5fb

Please sign in to comment.