Skip to content

Instantly share code, notes, and snippets.

@AndriyShepitsen
Created July 1, 2013 18:24
Show Gist options
  • Save AndriyShepitsen/5903293 to your computer and use it in GitHub Desktop.
Save AndriyShepitsen/5903293 to your computer and use it in GitHub Desktop.
Laravel_Foundation_Slide_Down_Reveal-Modal_Login_Passsword_Form_With_Button
<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">&#215;</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