diff --git a/app/networks/forms.py b/app/networks/forms.py index ed1c1bce488015f47c53f04413ba15157ea4eaf6..987e1287c3069aaf791a0268fa53f48904941ed7 100644 --- a/app/networks/forms.py +++ b/app/networks/forms.py @@ -10,7 +10,7 @@ This module defines the networks blueprint forms. """ from flask_wtf import FlaskForm -from wtforms import SelectField, StringField, validators +from wtforms import SelectField, StringField, TextAreaField, validators from .. import utils, models @@ -33,7 +33,7 @@ class HostForm(FlaskForm): validators.Regexp(models.HOST_NAME_RE)], filters=[utils.lowercase_field]) type = SelectField('Type', choices=utils.get_choices(('Virtual', 'Physical'))) - description = StringField('Description') + description = TextAreaField('Description') item_id = SelectField('Item') network_id = SelectField('Network') # The list of IPs is dynamically created on the browser side