From: Karl O. Pinc Date: Sun, 18 Aug 2024 18:10:21 +0000 (-0500) Subject: Fix sql textarea generated id X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=3f9562a9ca545d198a1f5873a8708275821fa832;p=pgwui_sql Fix sql textarea generated id --- diff --git a/src/pgwui_sql/views/sql.py b/src/pgwui_sql/views/sql.py index e55733a..e66e8cf 100644 --- a/src/pgwui_sql/views/sql.py +++ b/src/pgwui_sql/views/sql.py @@ -45,7 +45,7 @@ class SQLWTForm(pgwui_core.forms.AuthWTForm): # We don't actually use the labels, wanting the template to # look (and render) like html, but I'll define them anyway # just to keep my hand in. - sql = TextAreaField('SQL:') + sql = TextAreaField('SQL:', id='sql_id') @attrs.define(slots=False)