function page() { global $db, $session; //lets get a user $user = $db->from('users')->where('id', 1); $formOptions = array('action' => $_SERVER['PHP_SELF'], 'id' => 'testForm', 'data' => $user, 'files' => true, 'class' => 'form-horizontal', 'sidebar' => true, 'title' => '', 'description' => ''); $form = new Form($formOptions, $session); $sidebar = array('class' => 'warning', 'title' => 'Be careful!', 'body' => 'Be sure you complete all fields'); $form->setSidebar($sidebar); $emailValidation = array('required' => 'true', 'error' => 'Please supply a valid email address'); $email = array('field' => 'email', 'label' => "Email", 'description' => '', 'validation' => $emailValidation); $form->email($email); $firstNameValidation = array(); $firstName = array('field' => 'firstname', 'label' => "First Name", 'description' => '', 'validation' => $firstNameValidation); $form->text($firstName); $lastName = array('field' => 'lastname', 'label' => "Last Name", 'description' => 'Fill in your last name'); $form->text($lastName); $taName = array('field' => 'descriptionField', 'label' => "Last Name", 'description' => 'Fill in your last name'); $form->textarea($taName); $phoneOptions = array('field' => 'phone', 'label' => "Phone", 'description' => 'Home Phone'); $form->phone($phoneOptions); $checkOptions = array('field' => 'checkTest', 'label' => "Check here", 'description' => 'You authorize everything'); $form->checkbox($checkOptions); $passwordValidation = array('pattern' => '(?=^.{6,}$)((?=.*\\d)|(?=.*\\W+))(?![.\\n])(?=.*[A-Z])(?=.*[a-z]).*$'); $passwordOptions = array('field' => 'password', 'label' => "Password", 'description' => 'Enter a password at least 6 characters, with at least one symbol and number.', 'validation' => $passwordValidation); $form->password($passwordOptions); /* $dateValidation = array('disabledDays'=>'0,1','disabledDates'=>array("11/23/2015", "12/25/2015"), 'minDate'=>'11/1/2015', 'maxDate'=>'1/30/2016'); $secondDateValidation = array('disabledDays'=>'0,1','disabledDates'=>array("11/23/2015", "12/25/2015"), 'minDate'=>'11/1/2015', 'maxDate'=>'1/30/2016'); $dateOptions = array('field'=>'startdate', 'label'=>'Start/Stop Dates', 'description' =>'Enter a start and stop date', 'validation' => $dateValidation, 'second_field'=>'enddate', 'second_validation' => $secondDateValidation ); $form->date($dateOptions); $timeValidation = array('stepping'=>5,'disabledDays'=>'0,1','disabledDates'=>array("11/23/2015", "12/25/2015"), 'minDate'=>'11/1/2015', 'maxDate'=>'1/30/2016'); $secondTimeValidation = array('disabledDays'=>'0,1','disabledDates'=>array("11/23/2015", "12/25/2015"), 'minDate'=>'11/1/2015', 'maxDate'=>'1/30/2016'); $dateOptions = array('field'=>'starttime', 'label'=>'Start/Stop Times', 'description' =>'Enter a start and stop time', 'validation' => $timeValidation, 'second_field'=>'endtime', 'second_validation' => $secondTimeValidation ); $form->time($dateOptions); */ $timeValidation = array('stepping' => 5, 'disabledDays' => '0,1', 'disabledDates' => array("11/23/2015", "12/25/2015"), 'minDate' => '11/1/2015', 'maxDate' => '1/30/2016'); $secondTimeValidation = array('stepping' => 5, 'disabledDays' => '0,1', 'disabledDates' => array("11/23/2015", "12/25/2015"), 'minDate' => '11/1/2015', 'maxDate' => '1/30/2016'); $dateOptions = array('field' => 'startdatetime', 'label' => 'Start/Stop Date Times', 'description' => 'Enter a start and stop date time', 'validation' => $timeValidation, 'second_field' => 'enddatetime', 'second_validation' => $secondTimeValidation); $form->datetime($dateOptions); $options = array('field' => 'department', 'options' => array(0 => 'Advertising', 1 => "Circulation", 2 => 'Production'), 'label' => 'Department', 'description' => 'Select your department'); $form->select($options); $options = array('field' => 'publications', 'url' => '/ajax/forms/publications.php', 'label' => 'Publication', 'description' => 'Select a publication'); $form->remoteSelect($options); $form->generate(); //var_dump($this->formScripts); //grab any form scripts and append them to the global scripts array $GLOBALS['scripts'] = array_merge($GLOBALS['scripts'], $form->formScripts); }
/** * Test the compilation of form email * * @group laravel */ public function testFormEmail() { $form1 = Form::input('email', 'foo'); $form2 = Form::email('foo'); $form3 = Form::email('foo', 'foobar'); $form4 = Form::email('foo', null, array('class' => 'span2')); $this->assertEquals('<input type="email" name="foo" id="foo">', $form1); $this->assertEquals($form1, $form2); $this->assertEquals('<input type="email" name="foo" value="foobar" id="foo">', $form3); $this->assertEquals('<input class="span2" type="email" name="foo" id="foo">', $form4); }
@layout('layout/default') @section('content') <div id="mainTitle"> <h1>Bracket</h1> <hr /> <h2 class="center">Sign into your<br /> Bracket account</h2> <hr /> </div> <div class="mediaBreak mediaBreakLeft45"> <?php echo Form::open('home/login', 'POST', array('id' => 'loginForm', 'autocomplete' => 'off')); ?> <fieldset> <?php echo Form::email('email', Input::old('email'), array('placeholder' => 'Your email address', 'class' => 'lg center', 'autocomplete' => 'off')); ?> </fieldset> <fieldset> <?php echo Form::password('password', array('placeholder' => 'Top Secret Password', 'class' => 'lg center', 'autocomplete' => 'off')); ?> </fieldset> <fieldset> <?php echo Form::submit('Let Me In', array('class' => 'btn med success span100')); ?> </fieldset> <?php echo Form::close();
</strong> </span> <?php } ?> </div> </div> <div class="form-group<?php echo e($errors->has('email') ? ' has-error' : ''); ?> "> <label class="col-md-4 control-label" for="email">Correo electrónico</label> <div class="col-md-6"> <?php echo Form::email('email', $user->email, array('placeholder' => '*****@*****.**', 'class' => 'form-control')); ?> <?php if ($errors->has('email')) { ?> <span class="help-block"> <strong><?php echo e($errors->first('email')); ?> </strong> </span> <?php } ?>
?> <div class="col-md-6"> <?php echo Form::text('name', null, ['class' => ' form-control']); ?> </div> </div> <div class="form-group"> <?php echo Form::label('email', 'E-Mail Address', ['class' => 'col-md-4 control-label']); ?> <div class="col-md-6"> <?php echo Form::email('email', null, ['class' => ' form-control']); ?> </div> </div> <div class="form-group"> <?php echo Form::label('country_id', 'Country', ['class' => 'col-md-4 control-label']); ?> <div class="col-md-6"> <?php echo Form::select('country_id', $countrySelect, null, ['class' => 'form-control']); ?> </div> </div>
<label class="grid-group"> <span class="grid span-1 form-label"><?php echo $speak->email; ?> </span> <span class="grid span-5"><?php echo Form::email('email', Guardian::wayback('email'), null, array('class' => 'input-block')); ?> </span> </label>
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Авторизация</title> <link rel="stylesheet" href="{{ URL::asset('assets/css/login_form/reset.css') }}"> <link rel="stylesheet" href="{{ URL::asset('assets/css/login_form/animate.css') }}"> <link rel="stylesheet" href="{{ URL::asset('assets/css/login_form/styles.css') }}"> </head> <body> <div id="container"> <h1 class = "login_title">Авторизация</h1> <?php echo Form::open(array('method' => 'post')); ?> <label for="name">E-mail:</label> <?php echo Form::email('email', null, array('id' => 'email', 'required')); ?> <label for="username">Пароль:</label> <?php echo Form::password('password', array('id' => 'password', 'required')); ?> <?php echo Form::checkbox('remember', '1'); ?> <label class="check" for="checkbox">Запомнить меня</label> <?php if (isset($errors) && $errors != null) { ?> <p class = "login__errors"><?php
function prefGeneral($prefs) { global $db; $formOptions = array('action' => 'preferences/prefsGeneral.php', 'data' => $prefs, 'files' => true, 'title' => 'General System'); $prefForm = new Form($formOptions); $options = array('field' => 'systemEmailFromAddress', 'label' => "Email From Address", 'description' => 'Enter the email address that indicates where system messages originate'); $prefForm->email($options); $options = array('field' => 'cronSystemEnabled', 'label' => "Cron System", 'description' => 'Check to enable cron system'); $prefForm->checkbox($options); $prefForm->generate(); }
?> <br> <div class="col-sm-offset-4 col-sm-4"> <div class="panel panel-info"> <div class="panel-heading">Inscription à la lettre d'information</div> <div class="panel-body"> <?php echo Form::open(['route' => 'storeEmail']); ?> <div class="form-group <?php echo $errors->has('email') ? 'has-error' : ''; ?> "> <?php echo Form::email('email', null, array('class' => 'form-control', 'placeholder' => 'Entrez votre email')); ?> <?php echo $errors->first('email', '<small class="help-block">:message</small>'); ?> </div> <?php echo Form::submit('Envoyer !', ['class' => 'btn btn-info pull-right']); ?> <?php echo Form::close(); ?>
} ?> "><a href="/dashboard/subscribers_change_status/8">Отписались</a></li> <li class="audience__status__element <?php if ($subscribers_change_status == 9) { echo 'audience__status__element_selected'; } ?> "><a href="/dashboard/subscribers_change_status/9">Пожаловались</a></li> </ul> <div class="col-md-3"> <?php echo Form::open(array('url' => URL::to('dashboard/find_subscribers/' . $current_segment, array(), true), 'method' => 'post', 'class' => 'find_subscribers')); ?> <?php echo Form::email('search', null, array('id' => 'search', 'required', 'class' => 'search_subscribers form-control', 'placeholder' => 'Поиск подписчиков по email', 'title' => 'Введите email')); ?> <?php echo Form::hidden('hidden_segment', $current_segment, array('id' => 'hidden_segment', 'required')); ?> <?php echo Form::submit('Найти', array('class' => 'search_button btn btn-default btn-xs center-block')); ?> <?php echo Form::close(); ?> </div> </div>
<div id="container"> @if (Session::has('message')) <div id="message_success"> <p>{{ Session::get('message') }}</p> </div> @endif <div id="mes_infos"> <h2>Modification compte</h2> <?php echo Form::open(array('action' => 'UsersController@modification')); echo Form::label('lastname', 'Nom'); echo Form::text('lastname', $infosUser['lastname']); echo Form::label('firstname', 'Prenom'); echo Form::text('firstname', $infosUser['firstname']); echo Form::label('email', 'E-Mail Address'); echo Form::email('email', $infosUser['email']); echo Form::submit('Modifier'); echo Form::close(); ?> <?php echo Html::link('Users/' . $infosUser['id'] . '/delete', 'Désactiver compte'); ?> </div> @if ($errors->any()) <div id="erreurs"> @foreach ( $errors->all() as $error ) <p>{{ $error }}</p> @endforeach </div> @endif </div>
<div class="col-1"> <div class="woocommerce-billing-fields"> <h3>Información del usuario</h3> <label class="" for="house">Quinta</label> <?php echo Form::text('house', $user->house, ['readonly']); ?> <label class="" for="phone">Teléfono</label> <?php echo Form::text('phone', $user->phone, array('placeholder' => 'Teléfono')); ?> <label class="" for="email">Email</label> <?php echo Form::email('email', $user->email, array('placeholder' => 'Correo electrónico')); ?> <label class="" for="password">Contraseña</label> <?php echo Form::password('password', ''); ?> <label class="" for="password_confirmation">Confirmación de contraseña</label> <?php echo Form::password('password_confirmation', ''); ?> </div> </div> <?php
<?php echo Form::text('name', Input::previous('name', $comment->name), array('id' => 'label-name')); ?> <em><?php echo __('comments.name_explain'); ?> </em> </p> <p> <label for="label-email"><?php echo __('comments.email'); ?> :</label> <?php echo Form::email('email', Input::previous('email', $comment->email), array('id' => 'label-email')); ?> <em><?php echo __('comments.email_explain'); ?> </em> </p> <p> <label for="label-text"><?php echo __('comments.text'); ?> :</label> <?php echo Form::textarea('text', Input::previous('text', $comment->text), array('id' => 'label-text')); ?>
<?php } ?> <?php echo Form::open(array('class' => 'form-signin', 'url' => route('enviar.email'))); ?> <?php echo Form::text('nom', null, array('placeholder' => 'Nombre', 'class' => 'form-control', 'autofocus', 'required', 'maxlength' => '250')); ?> <br/> <?php echo Form::email('from', null, array('placeholder' => 'Email', 'class' => 'form-control', 'required', 'maxlength' => '80')); ?> <br/> <?php echo Form::label('txtSubject', 'Asunto:', array('style' => 'margin-top:10px; margin-bottom:0px;')); ?> <?php echo Form::select('subject', array('Nuevo centro' => 'Añadir nuevo centro', 'Peticion' => 'Petición', 'Duda' => 'Duda', 'Consejo' => 'Consejo', 'Publicidad' => 'Publicidad', 'Otro' => 'Otro'), null, array(' placeholder' => 'Asunto', 'class' => 'form-control', 'style' => 'display:inline-block; float:right; width:350px', 'required')); ?> <br/> <br/> <br/>
<?php Html::macro("configForm", function ($type, $model, $field, $showDesc = false, $selectArray = null, $multiple = false) { if ($type == "text") { $b = Form::text($field, $model->{$field}, ['placeholder' => trans_choice('admin.' . $field, 1), 'id' => $field]); } else { if ($type == "textarea") { $b = Form::textarea($field, $model->{$field}, ['placeholder' => trans_choice('admin.' . $field, 1), 'id' => $field]); } else { if ($type == "email") { $b = Form::email($field, $model->{$field}, ['placeholder' => trans_choice('admin.' . $field, 1), 'id' => $field]); } else { if ($type == "date") { $b = Form::date($field, $model->{$field}, ['placeholder' => trans_choice('admin.' . $field, 1), 'id' => $field]); } else { if ($type == "time") { $b = Form::time($field, $model->{$field}, ['placeholder' => trans_choice('admin.' . $field, 1), 'id' => $field]); } else { if ($type == "url") { $b = Form::url($field, $model->{$field}, ['placeholder' => trans_choice('admin.' . $field, 1), 'id' => $field]); } else { if ($type == "number") { $b = Form::number($field, $model->{$field}, ['placeholder' => trans_choice('admin.' . $field, 1), 'id' => $field]); } else { if ($type == "color") { $b = Form::color($field, $model->{$field}, ['placeholder' => trans_choice('admin.' . $field, 1), 'id' => 'colorpicker']); $b .= Form::text($field, $model->{$field}, ['placeholder' => trans_choice('admin.' . $field, 1), 'id' => $field]); } else { if ($type == "select" && !$multiple) { $b = Form::select($field, $selectArray, $model->{$field}, ['id' => $field]); } else {
<?php echo Form::text('name', Input::previous('name', $comment->name)); ?> <em><?php echo __('comments.name_explain'); ?> </em> </p> <p> <label><?php echo __('comments.email'); ?> :</label> <?php echo Form::email('email', Input::previous('email', $comment->email)); ?> <em><?php echo __('comments.email_explain'); ?> </em> </p> <p> <label><?php echo __('comments.text'); ?> :</label> <?php echo Form::textarea('text', Input::previous('text', $comment->text)); ?>
$formInput = ' <div class="form-group">' . $label . '<div class="col-md-' . $size . '">' . Form::textarea($name, $value, $attributes) . '</div> </div>'; return $formInput; }); Form::macro('bEmail', function ($name, $value, $attributes = array(), $label = null, $size = 10) { if (!isset($attributes['class'])) { $attributes['class'] = 'form-control'; } elseif (strpos($attributes['class'], 'form-control') === false) { $attributes['class'] = $attributes['class'] . ' form-control'; } if ($label != null) { $label = Form::bLabel($name, $label); } $formInput = ' <div class="form-group">' . $label . '<div class="col-md-' . $size . '">' . Form::email($name, $value, $attributes) . '</div> </div>'; return $formInput; }); Form::macro('bPassword', function ($name, $attributes = array(), $label = null, $size = 10) { if (!isset($attributes['class'])) { $attributes['class'] = 'form-control'; } elseif (strpos($attributes['class'], 'form-control') === false) { $attributes['class'] = $attributes['class'] . ' form-control'; } if ($label != null) { $label = Form::bLabel($name, $label); } $formInput = ' <div class="form-group">' . $label . '<div class="col-md-' . $size . '">' . Form::password($name, $attributes) . '</div> </div>';
<div class="group"> <?php echo Form::text('username', Sticky::get('username')); ?> <span class="highlight"></span><span class="bar"></span> <?php echo Form::label('username', 'Username'); ?> </div> <div class="group"> <?php echo Form::email('email', Sticky::get('email')); ?> <span class="highlight"></span><span class="bar"></span> <?php echo Form::label('email', 'Email'); ?> </div> <div class="group"> <?php echo Form::password('password'); ?> <span class="highlight"></span><span class="bar"></span> <?php echo Form::label('password', 'Password');
<form method="post" action="<?php echo Uri::to('admin/amnesia'); ?> "> <input name="token" type="hidden" value="<?php echo $token; ?> "> <fieldset> <p><label for="email"><?php echo __('users.email'); ?> :</label> <?php echo Form::email('email', Input::previous('email'), array('id' => 'email', 'autocapitalize' => 'off', 'autofocus' => 'true', 'placeholder' => __('users.email'))); ?> </p> <p class="buttons"> <a href="<?php echo Uri::to('admin/login'); ?> "><?php echo __('users.remembered'); ?> </a> <button type="submit"><?php echo __('global.reset'); ?> </button>
?> <div class="change_subscribers_label_text">Фамилия подписчика</div> <?php echo Form::text('sex', $current_subscriber['sex'], array('id' => 'sex', 'class' => 'change_subscribers_input form-control', 'placeholder' => 'Пол подписчика')); ?> <div class="change_subscribers_label_text">Пол подписчика</div> <?php echo Form::input('number', 'age', $current_subscriber['age'], array('id' => 'age', 'class' => 'change_subscribers_input form-control', 'placeholder' => 'Возраст подписчика')); ?> <div class="change_subscribers_label_text">Возраст подписчика</div> <?php echo Form::text('city', $current_subscriber['city'], array('id' => 'city', 'class' => 'change_subscribers_input form-control', 'placeholder' => 'Город')); ?> <div class="change_subscribers_label_text">Город</div> <?php echo Form::email('email', $current_subscriber['email'], array('id' => 'email', 'required', 'class' => 'change_subscribers_input form-control', 'placeholder' => 'Email подписчика')); ?> <div class="change_subscribers_label_text">Email подписчика</div> <p class="add_site_errors text-center"><?php echo Session::get('add_site_errors'); ?> </p> <p class = "text_mail text-center">{{Session::get('errors')}}</p> </div> <div class="modal-footer change_subscribers_footer"> <?php echo Form::submit('Сохранить', array('class' => 'btn btn-default btn-xs center-block change_subscribers_ok')); ?> <div class="change_subscribers_no btn btn-default btn-xs center-block">Отмена</div> <?php
<?php echo Form::model($user, array('method' => 'delete', 'route' => array('user.update', $user->id))); //echo Form::open(array('action' => array('UserController@postEdit', $user->id))); ?> <div class="form-group"> <?php echo Form::label('name', 'Name'); echo Form::text('name', $user->name, array('class' => 'form-control', 'placeholder' => 'Name')); ?> </div> <div class="form-group"> <?php echo Form::label('email', 'Email'); echo Form::email('email', $user->email, ['class' => 'form-control', 'placeholder' => 'Email']); ?> </div> <div class="form-group"> <?php echo Form::label('created_at', 'Created'); echo Form::label('created_at', $user->created_at, ['class' => 'form-control', 'placeholder' => 'Created At']); ?> </div> <div class="form-group"> <?php echo Form::label('updated_at', 'Updated'); echo Form::label('updated_at', $user->updated_at, ['class' => 'form-control', 'placeholder' => 'Updated At']); ?>
{!! Form::label('first_name', 'First Name', array('class' => 'control-label sr-only')) !!} <div class="col-sm-12"> {!! Form::text('first_name', null, array('class' => 'form-control', 'placeholder' => 'First', 'data-fv-notempty' => 'true')) !!} </div> </div> <div class="form-group"> {!! Form::label('last_name', 'Last Name', array('class' => 'control-label sr-only')) !!} <div class="col-sm-12"> {!! Form::text('last_name', null, array('class' => 'form-control', 'placeholder' => 'Last', 'data-fv-notempty' => 'true')) !!} </div> </div> <div class="form-group"> {!! Form::label('email', 'Email Address', array('class' => 'control-label sr-only')) !!} <div class="col-sm-12"> <?php echo Form::email('email', null, array('class' => 'form-control', 'placeholder' => 'Email', 'data-fv-verbose' => 'true', 'data-fv-notempty' => 'true', 'data-fv-remote' => 'true', 'data-fv-remote-url' => route('account.unique'), 'data-fv-remote-type' => 'GET', 'data-fv-remote-delay' => '500', 'data-fv-remote-message' => 'Email already in use')); ?> </div> </div> <div class="form-group"> {!! Form::label('password', 'Password', array('class' => 'control-label sr-only')) !!} <div class="col-sm-12"> {!! Form::password('password', array( 'class' => 'form-control', 'placeholder' => 'Password', 'data-fv-notempty' => 'true', 'minlength' => '6', 'maxlength' => '30', )) !!} </div> </div>
</div> <div class = "col-md-6 col-xs-12 col-sm-6 vk_login"> <a class="btn btn-block btn-social btn-vk login_link" href="/login/vkontakte"> <i class="fa fa-vk"></i> VKontakte </a> </div> </div> <div class = "row"> <h4 class="text-center second_login">Или ваш email:</h4> </div> <?php echo Form::text('username', null, array('id' => 'username', 'required', 'class' => 'form-control signup_name', 'placeholder' => 'Введите ваше Имя')); ?> <?php echo Form::email('email', null, array('id' => 'email', 'required', 'class' => 'form-control signup_email', 'placeholder' => 'Введите ваш Email')); ?> <div class="signup_message"></div> <div class = "row"> <p class = "signup_link col-md-12 col-xs-12 col-sm-12 text-center offer_accept" href = "">*Пароль будет выслан на указанный email</a> </div> </div> <div class="modal-footer login_footer signup_footer"> <?php echo Form::submit('Зарегистрироваться', array('class' => 'btn btn-default btn-xs center-block enter')); ?>
<?php // Defines if the user should be able to submit a request, or be prompted to login if (!$readonly) { echo Form::text('form-contact-agent-name', null, ['class' => 'form-control', 'required' => 'required']); } else { echo Form::text('form-contact-agent-name', null, ['class' => 'form-control', 'required' => 'required', 'readonly']); } ?> </div><!-- /.form-group --> <div class="form-group"> {!! Form::label('form-contact-agent-email', 'Your Email*') !!} <?php if (!$readonly) { echo Form::email('form-contact-agent-email', null, ['class' => 'form-control', 'required' => 'required']); } else { echo Form::email('form-contact-agent-email', null, ['class' => 'form-control', 'required' => 'required', 'readonly']); } ?> </div><!-- /.form-group --> <div class="form-group"> {!! Form::label('form-contact-agent-message', 'Your Message*') !!} <?php if (!$readonly) { echo Form::textarea('form-contact-agent-message', null, ['class' => 'form-control', 'rows' => '5', 'required' => 'required', 'placeholder' => 'How many people are in your group? Do you have any pets or other special needs? Would you like to organize trips from the airport? etc.']); } else { echo Form::textarea('form-contact-agent-message', null, ['class' => 'form-control', 'rows' => '5', 'required' => 'required', 'readonly']); } ?> </div><!-- /.form-group --> <div class="form-group"> <?php
<h2 class="form-signin-heading" style="margin-top:85px";>Recordar contraseña</h2> <div style="margin-top:5px; margin-bottom:10px;"> Introduce el email con el que te registraste en WORKSHOME y empezará el proceso para recuperar tu cuenta. </div> <div> <?php echo Form::open(array('class' => 'form-signin', 'route' => 'password.request')); echo Form::email('email', null, array('placeholder' => 'Email', 'class' => 'form-control', 'autofocus', 'style' => 'width:350px; display:inline-block;', 'autofocus')); echo Form::submit('Enviar', array('class' => 'btn btn-primary btn-sm', 'style' => 'margin-left:5px;')); echo Form::close(); ?> <?php if (Session::has('success')) { ?> <div class="alert alert-info" style="margin-top:10px; width:350px"> Te hemos enviado un email, revisa tu correo. </div> <?php } ?> <?php if (Session::has('error')) { ?> <div class="alert alert-danger" style="margin-top:10px; width:350px">
<div class='container-fluid'> <div class='row-fluid'> <div id="pwd-reset-form" class="span-4 offset4"> <?php //Error message will be shown if user has a failed attempt. if ($errors->first('email')) { echo "<div class='alert alert-error alert-block fade in'>"; echo '<button type="button" class="close" data-dismiss="alert">×</button>'; echo $errors->first('email'); echo "</div>"; } echo Form::open(array('url' => '/acceptreset', 'method' => 'post')); //Echo FORM Label for Password address echo Form::label('email', 'Email', array('class' => 'lbl-email-reset')); //Echo FORM Element for Password echo Form::email('email', "", array('class' => 'email-reset', 'placeholder' => '*****@*****.**', 'autocomplete' => 'off')); echo "<br>"; //Echo FORM Element for Submit echo Form::submit('Send Link', array('class' => 'btn btn-info')); echo Form::token(); echo Form::close(); ?> <a class="btn btn-danger" href="/gohome">Return to HomePage</a> </div> </div> </div> {{-- Bootstrap JS Compiled --}} @javascripts('bootstrap') @javascripts('grans')
@extends(Config::get('larauth::template')) @section(Config::get('larauth::out')) <div class="col-md-offset-4 col-md-4"> <div class="panel panel-default"> <div class="panel-heading">{{trans('larauth::larauth.request_code')}}</div> <div class="panel-body"> {{Form::open(['route'=>'larauth.requestcode', 'role'=>'form', 'class'=>'form-horizontal'])}} <div class="form-group"> <label class="col-md-4 control-label" for="email">{{trans('larauth::larauth.email')}}</label> <div class="col-md-8"> <?php echo Form::email('email', null, ['required' => true, 'class' => 'form-control']); ?> </div> </div> @if($errors->count()) <div class="alert alert-danger"> {{implode('', $errors->all('<div>:message</div>'))}} </div> @endif <div class="col-md-12"> {{Form::submit(trans('larauth::larauth.request'), ['class'=>'btn btn-primary col-md-12'])}} </div> {{Form::close()}} <div class="col-md-12 text-center"> {{link_to_route('larauth.logon', trans('larauth::larauth.authorization'), [], ['class'=>'btn btn-link btn-sm'])}} {{link_to_route('larauth.registration', trans('larauth::larauth.registration'), [], ['class'=>'btn btn-link btn-sm'])}} {{link_to_route('larauth.activation', trans('larauth::larauth.activation'), [], ['class'=>'btn btn-link btn-sm'])}} </div> </div>
@extends('temp') @section('content') <main class="mdl-layout__content mdl-color--grey-100"> <div class="mdl-grid demo-content"> <div class="demo-graphs mdl-shadow--2dp mdl-color--white mdl-cell mdl-cell--8-col"> <h4>Working with Requests</h4> <?php echo Form::open(['url' => 'req/post']); echo Form::label('username', 'Username', ['class' => 'awesome']); echo Form::text('username'); echo Form::label('email', 'Email'); echo Form::email('email'); echo Form::select('gender', ['M' => 'Male', 'F' => 'Female']); echo Form::submit('Sign Up', ['class' => 'mdl-button mdl-js-button mdl-button--raised mdl-button--colored']); echo Form::close(); ?> </div> </div> </main> @endsection
</div> <div class="clearfix"></div> </div> <div class="header-info"> <h1>BIG HERO 6</h1> <?php echo Form::open(['route' => 'log.store', 'method' => 'POST']); ?> <div class="form-group"> <?php echo Form::label('correo', 'Correo:'); ?> <?php echo Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Ingresa tu correo:']); ?> </div> <div class="form-group"> <?php echo Form::label('contrasena', 'Contraseña:'); ?> <?php echo Form::password('password', ['class' => 'form-control', 'placeholder' => 'Ingresa tu contraseña:']); ?> </div> <?php echo Form::submit('Iniciar', ['class' => 'btn btn-primary']);
echo Form::text('nom', null, array('placeholder' => 'Nombre', 'class' => 'form-control', 'style' => 'float:left; width:200px; margin-right:5px;', 'autofocus', 'required', 'maxlength' => '45')); ?> <?php echo Form::text('cognoms', null, array('placeholder' => 'Apellidos', 'class' => 'form-control', 'style' => 'width:220px;', 'required', 'maxlength' => '150')); ?> <br/> <?php echo Form::email('email', null, array('placeholder' => 'Email', 'class' => 'form-control', 'required', 'maxlength' => '60')); ?> <br/> <?php echo Form::email('emailrep', null, array('placeholder' => 'Repetir Email', 'class' => 'form-control', 'required', 'maxlength' => '60')); ?> <br/> <?php echo Form::password('contrasenya', array('placeholder' => 'Contraseña', 'class' => 'form-control', 'data-toggle' => 'popover', 'data-placement' => 'right', 'data-content' => 'Debe tener mínimo 6 carácteres', 'required', 'pattern' => '.{6,20}')); ?> <br/> <?php echo Form::label('fecha', 'Fecha de nacimiento: '); ?> <br/> <?php echo Form::selectRange('dia', 1, 31, null, array('class' => 'form-control', 'style' => 'width:85px; float:left; margin-right:45px; margin-left:35px;')); echo Form::selectRange('mes', 1, 12, null, array('class' => 'form-control', 'style' => 'width:85px; float:left; margin-right:45px;')); echo Form::selectRange('any', 2000, 1910, null, array('class' => 'form-control', 'style' => 'width:100px; float:left;'));