mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-08-20 09:38:07 -04:00
fix forms and refactor node ingest/validation
This commit is contained in:
parent
dc06c87808
commit
137a95217d
5 changed files with 108 additions and 58 deletions
7
xmrnodes/forms.py
Normal file
7
xmrnodes/forms.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from flask_wtf import FlaskForm
|
||||
from wtforms import StringField
|
||||
from wtforms.validators import DataRequired
|
||||
|
||||
|
||||
class SubmitNode(FlaskForm):
|
||||
node_url = StringField('Node URL:', validators=[DataRequired()])
|
Loading…
Add table
Add a link
Reference in a new issue