2013-08-14 10:53:25 +02:00
|
|
|
<?= $this->tabs->render($this); ?>
|
2013-08-20 17:06:44 +02:00
|
|
|
|
2013-08-19 18:25:20 +02:00
|
|
|
<?php $errors = $this->form->getErrorMessages(); ?>
|
2013-08-20 17:06:44 +02:00
|
|
|
|
2013-08-27 14:37:22 +02:00
|
|
|
<?php if ($this->successMessage): ?>
|
|
|
|
<div class="alert alert-success">
|
|
|
|
<i>{{OK_ICON}}</i>
|
|
|
|
<strong><?= $this->escape($this->successMessage); ?></strong>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
2013-08-19 18:25:20 +02:00
|
|
|
<?php if (!empty($errors)) : ?>
|
|
|
|
<div class="alert alert-danger">
|
2013-08-22 17:17:58 +02:00
|
|
|
<h4>Errors occured when trying to save the project.</h4>
|
2013-08-21 16:12:06 +02:00
|
|
|
<p>
|
|
|
|
The following errors occured when trying to save the configuration:
|
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
<?php foreach($errors as $error): ?>
|
|
|
|
<li><?= $this->escape($error) ?></li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
2013-08-19 18:25:20 +02:00
|
|
|
</div>
|
2013-08-14 10:53:25 +02:00
|
|
|
|
2013-08-19 18:25:20 +02:00
|
|
|
<?php endif; ?>
|
2013-08-14 10:53:25 +02:00
|
|
|
<?= $this->form ?>
|