title: How do I send a form but stay on the same page with phalcon?
body: <p>In the form I have to define a handler like <code>admin/login</code>. Then it changes the page when I send it. I also tried using <code>public function indexAction()</code> handler and only using the controller <code>admin</code> without a handler, but then nothing happens.</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Edit: <br>
  I wanted to have a error message but it was not so big a site that i wanted to make a form class. </p>
  
  <p>The way i eventually fixed it was the following:</p>
  
  <p>First i use <code>$this-&gt;view-&gt;pick('admin/index');</code> in the handler to select my old view. <br>
  Next i send a variable like a error message with <code>$this-&gt;view-&gt;setVars(['username' =&gt; $user-&gt;name,]);</code> in the handler.<br>
  Last i used it with volt in the previous view <code>views/admin/index.phtml</code> like this <code>{{ username }}</code></p>