small refactoring
This commit is contained in:
parent
c3f9b5fcc1
commit
490480bf9e
|
|
@ -0,0 +1,4 @@
|
|||
{%- if comment is not null -%}
|
||||
<h2>Комментарий</h2>
|
||||
<p class="sub-header">{{ comment }}</p>
|
||||
{%- endif -%}
|
||||
|
|
@ -119,10 +119,8 @@
|
|||
<h2>Описание</h2>
|
||||
<p class="sub-header">{{ description }}</p>
|
||||
|
||||
{% if comment is not null -%}
|
||||
<h2>Комментарий</h2>
|
||||
<p class="sub-header">{{ comment }}</p>
|
||||
{%- endif %}
|
||||
{%- include 'blocks/comment.html.twig' with { comment: comment } %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -31,10 +31,7 @@
|
|||
<h2>Описание</h2>
|
||||
<p class="sub-header">{{ description }}</p>
|
||||
|
||||
{% if comment is not null -%}
|
||||
<h2>Комментарий</h2>
|
||||
<p class="sub-header">{{ comment }}</p>
|
||||
{%- endif %}
|
||||
{%- include 'blocks/comment.html.twig' with { comment: comment } %}
|
||||
|
||||
<h2>Возможные значения</h2>
|
||||
<div class="table table--small">
|
||||
|
|
|
|||
|
|
@ -34,10 +34,7 @@
|
|||
<h2>Описание</h2>
|
||||
<p class="sub-header">{{ description }}</p>
|
||||
|
||||
{% if comment is not null -%}
|
||||
<h2>Комментарий</h2>
|
||||
<p class="sub-header">{{ comment }}</p>
|
||||
{%- endif %}
|
||||
{%- include 'blocks/comment.html.twig' with { comment: comment } %}
|
||||
|
||||
<h2>Структура данных</h2>
|
||||
<div class="table">
|
||||
|
|
|
|||
Loading…
Reference in New Issue