{namespace i=TYPO3\CMS\Install\ViewHelpers}

<f:layout name="Step" />

<f:section name="Content">
	<f:render partial="Action/Step/StepCounter.html" arguments="{steps: steps, currentStep: currentStep}" />

	<h3>Database connection</h3>
	<f:if condition="{hasAtLeastOneOption}">
		<f:then>
			<p>
				If you have not already created a username and password to access the database, please do so now.
				This can be done using tools provided by your host.
			</p>
			<f:render partial="Action/Step/DatabaseConnect/ConnectDetails" arguments="{_all}" />
		</f:then>
		<f:else>
			<div class="t3js-message typo3-message alert alert-danger" role="alert">
				<h4>No database driver found</h4>
				<p class="messageText">You have no database driver installed or enabled. Please install a driver in order to complete the database connection.</p>
			</div>
		</f:else>
	</f:if>
</f:section>

