Search
 
SCRIPT & CODE EXAMPLE
 

PHP

yii2 activeform

<?php
use yiihelpersHtml;
use yiiwidgetsActiveForm;

$form = ActiveForm::begin([
    'id' => 'login-form',
    'options' => ['class' => 'form-horizontal'],
]) ?>
    <?= $form->field($model, 'username') ?>
    <?= $form->field($model, 'password')->passwordInput() ?>

    <div class="form-group">
        <div class="col-lg-offset-1 col-lg-11">
            <?= Html::submitButton('Login', ['class' => 'btn btn-primary']) ?>
        </div>
    </div>
<?php ActiveForm::end() ?>
Comment

PREVIOUS NEXT
Code Example
Php :: csv file to associative array php 
Php :: validation error message in laravel 
Php :: how to find total rows fetched php pdo 
Php :: laravel menu active class 
Php :: PHP money_format — Formats a number as a currency string 
Php :: php sort array of array by key 
Php :: wp php get_the_category posts loop 
Php :: php validate date format yyyy-mm-dd 
Php :: display custom post type 
Php :: php mysqli fetch single row 
Php :: IlluminateDatabaseEloquentCollection to array 
Php :: Laravel required if it meet some value from another field 
Php :: create a text file in laravel 
Php :: use model from variable laravel 
Php :: storage in laravel 
Php :: brew downgrade php 8 to 7.4 
Php :: symfony doctrine existing database 
Php :: bigtext migration laravel 
Php :: php append element to array 
Php :: call php from html 
Php :: how to get current location latitude and longitude in php 
Php :: take and skip in laravel 
Php :: fnmatch php ignore case 
Php :: implode and explode in php 
Php :: laravel read file from tmp 
Php :: factorial function php 
Php :: php How do you remove an array element in a foreach loop? 
Php :: get database columns laravel 
Php :: maintaining serial number in laravel pagination table 
Php :: make table in laravel 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =