Holiday changes ;)
This commit is contained in:
@@ -154,7 +154,7 @@
|
||||
<div class="form-group">
|
||||
<label for="title">Titel (Deutsch)</label>
|
||||
<input type="text" class="form-control" name="title" id="title" placeholder="Titel auf Deutsch"
|
||||
required value="<?= isset($content) ? $content['title'] : '' ?>">
|
||||
required value="<?= isset($content) && isset($content['translations']['de']) ? $content['translations']['de']['title'] : '' ?>">
|
||||
</div>
|
||||
<!-- Headline input -->
|
||||
<div class="form-group">
|
||||
@@ -162,13 +162,13 @@
|
||||
<textarea name="headline" id="headline" rows="2"
|
||||
placeholder="Headline auf Deutsch"
|
||||
class="form-control"
|
||||
required><?= isset($content) ? $content['headline'] : '' ?></textarea>
|
||||
required><?= isset($content) && isset($content['translations']['de']) ? $content['translations']['de']['description'] : '' ?></textarea>
|
||||
</div>
|
||||
<!-- Description input -->
|
||||
<div class="form-group">
|
||||
<label for="description">Beschreibung (Deutsch)</label>
|
||||
<div data-editable data-name="content-german" id="content">
|
||||
<?= isset($content) ? $content['description'] : '' ?>
|
||||
<?= isset($content) && isset($content['translations']['de']) ? $content['translations']['de']['content'] : '' ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -177,20 +177,20 @@
|
||||
<div class="form-group">
|
||||
<label for="titleEnglish">Titel (Englisch)</label>
|
||||
<input type="text" class="form-control" name="titleEnglish" id="titleEnglish" placeholder="Titel auf Englisch"
|
||||
value="<?= isset($content) ? $content['titleEnglish'] : '' ?>">
|
||||
value="<?= isset($content) && isset($content['translations']['en']) ? $content['translations']['en']['title'] : '' ?>">
|
||||
</div>
|
||||
<!-- Headline English input -->
|
||||
<div class="form-group">
|
||||
<label for="headlineEnglish">Headline (Englisch)</label>
|
||||
<textarea name="headlineEnglish" id="headlineEnglish" rows="2"
|
||||
placeholder="Headline auf Englisch"
|
||||
class="form-control"><?= isset($content) ? $content['headlineEnglish'] : '' ?></textarea>
|
||||
class="form-control"><?= isset($content) && isset($content['translations']['en']) ? $content['translations']['en']['description'] : '' ?></textarea>
|
||||
</div>
|
||||
<!-- Description English input -->
|
||||
<div class="form-group">
|
||||
<label for="descriptionEnglish">Beschreibung (Englisch)</label>
|
||||
<div data-editable data-name="content-english" id="contentEnglish">
|
||||
<?= isset($content) ? $content['descriptionEnglish'] : '' ?>
|
||||
<?= isset($content) && isset($content['translations']['en']) ? $content['translations']['en']['content'] : '' ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -199,20 +199,20 @@
|
||||
<div class="form-group">
|
||||
<label for="titleFrench">Titel (Französisch)</label>
|
||||
<input type="text" class="form-control" name="titleFrench" id="titleFrench" placeholder="Titel auf Französisch"
|
||||
value="<?= isset($content) ? $content['titleFrench'] : '' ?>">
|
||||
value="<?= isset($content) && isset($content['translations']['fr']) ? $content['translations']['fr']['title'] : '' ?>">
|
||||
</div>
|
||||
<!-- Headline French input -->
|
||||
<div class="form-group">
|
||||
<label for="headlineFrench">Headline (Französisch)</label>
|
||||
<textarea name="headlineFrench" id="headlineFrench" rows="2"
|
||||
placeholder="Headline auf Französisch"
|
||||
class="form-control"><?= isset($content) ? $content['headlineFrench'] : '' ?></textarea>
|
||||
class="form-control"><?= isset($content) && isset($content['translations']['fr']) ? $content['translations']['fr']['description'] : '' ?></textarea>
|
||||
</div>
|
||||
<!-- Description French input -->
|
||||
<div class="form-group">
|
||||
<label for="descriptionFrench">Beschreibung (Französisch)</label>
|
||||
<div data-editable data-name="content-french" id="contentFrench">
|
||||
<?= isset($content) ? $content['descriptionFrench'] : '' ?>
|
||||
<?= isset($content) && isset($content['translations']['fr']) ? $content['translations']['fr']['content'] : '' ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user