From 2d7ad97c88ae97e42d86bd2d59f789857c432afd Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand <benjamin.bertrand@esss.se> Date: Fri, 15 Dec 2017 15:02:13 +0100 Subject: [PATCH] Description shall be a TextAreaField --- app/networks/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/networks/forms.py b/app/networks/forms.py index ed1c1bc..987e128 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 -- GitLab