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
This commit is contained in:
Floren Llanos 2014-04-17 12:50:58 +02:00
parent c05dc1272a
commit 00e705b453

View File

@ -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: