diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index ac761f5..39dae81 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -29,6 +29,10 @@ class PartitionForm(FlaskForm): modify = SubmitField(label=_('Modify')) delete = SubmitField(label=_('Delete')) +class HardwareForm(FlaskForm): + ips = HiddenField() + refresh = SubmitField(label=_('Refresh')) + class ClientDetailsForm(FlaskForm): name = StringField(label=_('Name')) ip = StringField(label=_('IP')) diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html index 5b506a6..460fc3e 100644 --- a/ogcp/templates/scopes.html +++ b/ogcp/templates/scopes.html @@ -40,6 +40,8 @@ formaction="{{ url_for('action_reboot') }}" formmethod="post"> +