From 00e705b453a9eb8a5ad6564357c3993e638c47f7 Mon Sep 17 00:00:00 2001 From: Floren Llanos Date: Thu, 17 Apr 2014 12:50:58 +0200 Subject: [PATCH] Textarea field can be extended over other fields This patch fixes textarea field extension over other fields. It use the same solution that was applied in bug #1282196. Change-Id: I68dbe9e96f1d0603b2aa09ea59fac8126ba923d4 Closes-Bug: #1308208 --- .../dashboards/project/access_and_security/keypairs/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/project/access_and_security/keypairs/forms.py b/openstack_dashboard/dashboards/project/access_and_security/keypairs/forms.py index 8ec62b03de..8b3a9b5975 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/keypairs/forms.py +++ b/openstack_dashboard/dashboards/project/access_and_security/keypairs/forms.py @@ -50,7 +50,8 @@ class ImportKeypair(forms.SelfHandlingForm): name = forms.CharField(max_length="255", label=_("Key Pair Name"), validators=[validators.validate_slug], error_messages=KEYPAIR_ERROR_MESSAGES) - public_key = forms.CharField(label=_("Public Key"), widget=forms.Textarea) + public_key = forms.CharField(label=_("Public Key"), widget=forms.Textarea( + attrs={'class': 'modal-body-fixed-width'})) def handle(self, request, data): try: