title: Laravel Form Button Cancel
body: <p>Using Laravel, I have a form and I want to include a "cancel" button that just redirects back to a different route. Since the button is within the form element, when clicked it attempts to submit the form. In the Laravel docs I don't see a good way to do this. Any suggestions or would using Javascript be best?</p>
  
  <p>Thanks,</p>
  
  <pre><code>&lt;div class="form-group pull-right"&gt;
      &lt;a href="{{ route('home') }}"&gt;&lt;button class="btn btn-default btn-close"&gt;Cancel&lt;/button&gt;&lt;/a&gt;
      &lt;button type="submit" class="btn btn-global"&gt;Register&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>