I'm working on a Laravel site built by someone else and one of the pages has a form on it that doesn't have any action or any obvious location the data gets sent to, yet it still sends data to the back-end.
The form below is found on portal.blade.php - I can't find anything in there resembling Form::
If I delete the classes 'inspiring' & 'submit' from the submit button the form stops working.
Live page: http://amazingyou.bravissimo.com/about
<!-- Modal -->
<div class="inspiring modal fade"
id="myModal"
tabindex="-1"
role="dialog"
aria-labelledby="myModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button"
class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="myModalLabel">Your Amazing Story</h4>
</div>
<div class="modal-body">
<form>
<p>
<input class="name" placeholder="Your Name" value="">
</p>
<p>
<input class="title" placeholder="Story Title" value="">
</p>
<p>
<textarea class="story"
placeholder="Your Story (max. 150 words)"></textarea>
</p>
</form>
<div class="results" style="display:none">
Thank you for your Amazing Story
</div>
<div class="character-limit" style="display:none">
Please limit your story to 150 words
</div>
</div>
<div class="modal-footer">
<button type="button"
class="btn btn-default"
data-dismiss="modal">Close</button>
<button
onClick="ga('send', 'event', 'amazing_story', 'click', 'submit_story');"
type="button"
class="btn btn-primary inspiring submit">Submit</button>
</div>
</div>
</div>
</div>