Skip to content

Instantly share code, notes, and snippets.

@AndriyShepitsen
Created July 1, 2013 18:19
Show Gist options
  • Save AndriyShepitsen/5903251 to your computer and use it in GitHub Desktop.
Save AndriyShepitsen/5903251 to your computer and use it in GitHub Desktop.
Laravel_Foundation_Slide_Down_Reveal-Modal_Contact_Form_With_Image
<div id="myModal" class="reveal-modal medium myModal2">
<h3 class="subheader">Contact Us</h3>
{{Form::open(array('url' => 'foo/bar'))}}
{{Form::label('email', 'Your E-mail')}}
{{Form::text('email', '', array('placeholder'=>'@', 'class'=>'txt'))}}
{{Form::label('msg', 'Enter a Message')}}
{{Form::textarea('msg', '', array('placeholder'=>'', 'class'=>'txtarea'))}}
{{ Form::submit('Send', array('class'=>'secondary button small radius'))}}
<a class="close-reveal-modal">&#215;</a>
{{Form::close()}}
</div>
<!--
/* insert data-reveal-id to link with the same id */
<a href="#" class="mailIcon has-tip-left" title="Send Us Email" data-reveal-id="myModal"> <img src="{{url('comp/img/mail_remax.png')}}" alt="Remax First Class Mail Icon" ></a>
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment