Skip to content

Commit

Permalink
IBX-1652: Fixed alert width in content edit view (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
dew326 committed Jan 24, 2022
1 parent 1efad5f commit bfd1e68
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@
{% endblock %}

{% block content %}
{% block form_before %}{% endblock %}
<section class="container">
<div class="row">
<div class="{{ is_full_width|default(false) ? 'col-12' : 'col-7 offset-1' }}">
{% block form_before %}{% endblock %}
</div>
</div>
</section>

{% block form %}
{{ form_start(form, {'attr': {'class': 'ibexa-form-validate ibexa-form'}}) }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{% trans_default_domain 'content_edit_component_preview_unavailable' %}

<section class="container mt-3">
<div class="px-3">
{% include '@ibexadesign/ui/component/alert/alert.html.twig' with {
type: 'warning',
title: 'preview_unavailable'|trans|desc('You cannot preview this translation because there is no site available for this language. Contact your Administrator.'),
} only %}
</div>
</section>
{% include '@ibexadesign/ui/component/alert/alert.html.twig' with {
type: 'warning',
title: 'preview_unavailable'|trans|desc('You cannot preview this translation because there is no site available for this language. Contact your Administrator.'),
} only %}

0 comments on commit bfd1e68

Please sign in to comment.