@include('install.helpers.form_control', [
'type' => 'text',
'label' => trans('messages.hostname'),
'name' => 'host',
'value' => (isset($database["host"]) ? $database["host"] : ""),
'help_class' => 'install',
'rules' => $rules
])
@include('install.helpers.form_control', [
'type' => 'text',
'name' => 'port',
'value' => (isset($database["port"]) ? $database["port"] : "3306"),
'placeholder' => '3306',
'help_class' => 'install',
'rules' => $rules
])
@include('install.helpers.form_control', [
'type' => 'text',
'name' => 'username',
'value' => (isset($database["username"]) ? $database["username"] : ""),
'help_class' => 'install',
'rules' => $rules
])
@include('install.helpers.form_control', [
'type' => 'text',
'name' => 'password',
'value' => (isset($database["password"]) ? $database["password"] : ""),
'help_class' => 'install',
'rules' => $rules
])
@include('install.helpers.form_control', [
'type' => 'text',
'label' => trans('messages.database_name'),
'name' => 'database',
'value' => (isset($database["database"]) ? $database["database"] : ""),
'help_class' => 'install',
'rules' => $rules
])
@include('install.helpers.form_control', [
'type' => 'text',
'label' => trans('messages.tables_prefix'),
'name' => 'prefix',
'value' => (isset($database["prefix"]) ? $database["prefix"] : ""),
'help_class' => 'install',
'rules' => $rules
])
@include('install.helpers.form_control', [
'type' => 'text',
'name' => 'socket',
'value' => (isset($database["socket"]) ? $database["socket"] : ""),
'help_class' => 'install',
'rules' => $rules
])