<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Classic Invoicer 2 - Database Details</title>
    <?php echo $__env->make('install.partials.styles', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</head>
<body class="login-page">
	<div class="container">
		<div class="login-logo">
			<b>Classic</b> Invoicer 2 Installation
		</div>
		<div class="panel">
			<div class="panel-body">
				<div class="row">
					<div class="col-md-12">
						<div class="callout callout-warning">
							<h4>Database Details</h4>
						</div>
						<?php if(count($errors) > 0): ?>
						<?php echo form_errors($errors); ?>
						<?php endif; ?>
						<?php if(Session::has('flash_notification.message')): ?>
						<?php echo message(); ?>
						<?php endif; ?>
						<?php echo Form::open(['url'=>'/install/database']); ?>
						<div class="form-group">
							<?php echo Form::label('hostname', 'Hostname'); ?>
							<?php echo Form::text('hostname', null, ['class' => 'form-control input-sm','required', 'placeholder' => 'hostname' ]); ?>
						</div>
						<div class="form-group">
							<?php echo Form::label('database', 'Database'); ?>
							<?php echo Form::text('database', null, ['class' => 'form-control input-sm','required','placeholder' => 'Database' ]); ?>
						</div>
						<div class="form-group">
							<?php echo Form::label('username', 'Username'); ?>
							<?php echo Form::text('username', null, ['class' => 'form-control input-sm','required','placeholder' => 'Username' ]); ?>
						</div>
						<div class="form-group">
							<?php echo Form::label('password', 'Password'); ?>
							<?php echo Form::password('password', ['class' => 'form-control input-sm','placeholder' => 'Password' ]); ?>
						</div>
						<div class="form-group">
							<?php echo Form::submit('Submit', ['class' => 'btn btn-sm btn-success next_btn']); ?>
						</div>
						<?php echo Form::close(); ?>
					</div>
				</div>
			</div>
		</div>
</div>
<?php echo $__env->make('install.partials.scripts', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</body>
</html>

