Added email field in form
This commit is contained in:
parent
e52c18a09c
commit
c0327107a5
|
@ -28,3 +28,5 @@ class curieForm(FlaskForm):
|
||||||
center_x = DecimalField('Center X',default=0)
|
center_x = DecimalField('Center X',default=0)
|
||||||
center_y = DecimalField('Center Y',default=0)
|
center_y = DecimalField('Center Y',default=0)
|
||||||
center_z = DecimalField('Center Z',default=0)
|
center_z = DecimalField('Center Z',default=0)
|
||||||
|
|
||||||
|
email = StringField('Email', validators=[DataRequired(), Email()])
|
|
@ -47,6 +47,10 @@
|
||||||
{{ form.ligand(class="form-control")}}
|
{{ form.ligand(class="form-control")}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
{{ form.email.label }}
|
||||||
|
{{ form.email(class="form-control") }}
|
||||||
|
</div>
|
||||||
|
|
||||||
<button class="btn btn-primary">Upload</button>
|
<button class="btn btn-primary">Upload</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue