Beispiel #1
0
<div id="email-signup">
    <h3>Get notified when we release a new shirt design:</h3>
    <?php 
echo Form::open(URL::site('email_signup'));
?>
        <?php 
echo CSRF::set_token();
?>
        <div>
            <?php 
echo Form::input('email', 'Your email address', array('id' => 'email', 'onfocus' => "this.value=''", 'onblur' => "if(this.value=='') { this.value='Your email address'}"));
?>
            <?php 
echo Form::submit(NULL, 'submit', array('class' => 'submit'));
?>
        </div>
    <?php 
echo Form::close();
?>
</div>