Created
July 1, 2013 18:19
-
-
Save AndriyShepitsen/5903251 to your computer and use it in GitHub Desktop.
Laravel_Foundation_Slide_Down_Reveal-Modal_Contact_Form_With_Image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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">×</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