Skip to content

Commit

Permalink
moved captcha of register down
Browse files Browse the repository at this point in the history
  • Loading branch information
kokspflanze committed Oct 22, 2015
1 parent 3c629c8 commit f30aa1f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/PServerCMS/Form/Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace PServerCMS\Form;

use Zend\Form\Form;
use Zend\Form\Element;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfcBase\Form\ProvidesEventsForm;
Expand Down Expand Up @@ -127,7 +126,10 @@ public function __construct( ServiceLocatorInterface $sm )
'class' => 'form-control',
'type' => 'text'
]);
$this->add($captcha);

$this->add($captcha, array(
'priority' => -90,
));

$submitElement = new Element\Button('submit');
$submitElement
Expand Down

0 comments on commit f30aa1f

Please sign in to comment.