Skip to content

Instantly share code, notes, and snippets.

@SvitlanaShepitsena
Created August 24, 2013 18:21
Show Gist options
  • Save SvitlanaShepitsena/6329614 to your computer and use it in GitHub Desktop.
Save SvitlanaShepitsena/6329614 to your computer and use it in GitHub Desktop.
Laravel with Foundation Style Slide Down Reveal-Modal Login and Password Authentication Form With a Button
<!-- /* My slideDown Authentification Form Starts Here */ -->
<div id="adminAuth" class="reveal-modal small adminAuth2 createAccount panel">
<div class="row">
<div class="large-12 columns profileContent">
{{Form::open(array('url'=>'login'))}}
<div class="navPanel">
<nav class="top-bar min">
<div class="large-2 columns">
<a class="logoS" href="{{URL::route('home')}}" title="Home Page">
<img src="{{url('comp/img/REMAX1LogoS.png')}}" alt="RE/MAX FIRST CLASS Logo">
</a>
</div>
<div class="large-10 columns"> <ul class="title-area right">
<!-- Title Area -->
<li class="name">
<h1>
{{link_to_route('home', 'REMAX FIRST CLASS');}}
</h1>
</li>
</ul>
</div>
</nav>
</div>
<div class="row">
<div class="large-12 columns signInFormWrapper">
<h3 class="subheader account">Sign In to Your Account</h3>
<div class="row">
<div class="large-6 columns">
{{Form::label('email', 'Your Email')}}
{{ Form::email('email', Input::old('email'), $attributes = array())}}
</div>
<div class="large-6 columns">
{{Form::label('password', 'Your Password')}}
{{ Form::password('password', $value = null, $attributes = array())}}
</div>
</div>
{{ Form::submit('Login', $attributes = array('class'=>'button tiny radius'))}}
{{Form::close()}}
</div>
</div>
</div>
</div>
<a class="close-reveal-modal">&#215;</a>
</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">
-->
<!-- /* My slideDown Authentification Form Ends Here */ -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment