@extends('layouts.core.install') @section('title', trans('messages.database')) @section('content')

dns {{ trans('messages.database_configuration') }}

@if (isset($connect_error))
{{ $connect_error }}
@endif
{!! csrf_field() !!}
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'hostname', 'value' => (isset($database["hostname"]) ? $database["hostname"] : ""), 'help_class' => 'install', 'rules' => $rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'port', 'value' => (isset($database["port"]) ? $database["port"] : "3306"), 'placeholder' => '3306', 'help_class' => 'install', 'rules' => $rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'username', 'value' => (isset($database["username"]) ? $database["username"] : ""), 'help_class' => 'install', 'rules' => $rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'password', 'value' => (isset($database["password"]) ? $database["password"] : ""), 'help_class' => 'install', 'rules' => $rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'database_name', 'value' => (isset($database["database_name"]) ? $database["database_name"] : ""), 'help_class' => 'install', 'rules' => $rules ])
@include('helpers.form_control', [ 'type' => 'text', 'name' => 'tables_prefix', 'value' => (isset($database["tables_prefix"]) ? $database["tables_prefix"] : ""), 'help_class' => 'install', 'rules' => $rules ])

@endsection