Creates a password form input.
echo Form::password('password');
string Core_Form::password( string $name [, string $value = null , array $attributes = null ] )
参数列表
参数 类型 描述 默认值 $name
string
Input name $value
string
Input value null $attributes
array
Html attributes null
string
public static function password($name, $value = null, array $attributes = null)
{
$attributes['type'] = 'password';
return Form::input($name, $value, $attributes);
}