diff --git a/application/forms/AddNodeForm.php b/application/forms/AddNodeForm.php
index 322c293..55abfc2 100644
--- a/application/forms/AddNodeForm.php
+++ b/application/forms/AddNodeForm.php
@@ -52,6 +52,8 @@ class AddNodeForm extends QuickForm
protected function addNewProcess()
{
+ $this->addHtml('
Add a new node
');
+
$this->addElement('text', 'name', array(
'label' => $this->translate('Name'),
'required' => true,
@@ -159,6 +161,8 @@ class AddNodeForm extends QuickForm
$this->addHostElement();
if ($host = $this->getSentValue('host')) {
$this->addServicesElement($host);
+ } else {
+ $this->setSubmitLabel($this->translate('Next'));
}
}