Created
July 1, 2013 18:24
-
-
Save AndriyShepitsen/5903293 to your computer and use it in GitHub Desktop.
Laravel_Foundation_Slide_Down_Reveal-Modal_Login_Passsword_Form_With_Button
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="adminAuth" class="reveal-modal medium adminAuth2"> | |
{{Form::open(array('url'=>'/login'))}} | |
{{ Form::email('email', $value = null, $attributes = array())}} | |
{{ Form::password('password', $value = null, $attributes = array())}} | |
{{ Form::submit('Login', $attributes = array('class'=>'button tiny radius'))}} | |
<a class="close-reveal-modal">×</a> | |
{{Form::close()}} | |
</div> | |
<!-- | |
/* insert data-reveal-id to your button with the same id */ | |
<input type="submit" class="button tiny right loginButton" data-reveal-id="adminAuth" value="LOGIN"> | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment