<commit_before>{% extends 'VidalMainBundle::layout.html.twig' %}


{% block title %}
	<h1>
		{{ article.title|raw }}
		{# админам карандашик редактирования #}
		{% if is_granted('ROLE_ADMIN') %}
			<a class="admin-edit fade" target="_blank"
			   href="{{ path('admin_vidal_drug_article_edit', {'id':article.id}) }}">
				<img src="{{ asset('bundles/vidalmain/images/edit.png') }}"/>
			</a>
		{% endif %}
	</h1>
{% endblock %}


{% block nav %}
	<div class="breadcrumbs">
		<a href="{{ path('index') }}">Видаль</a>
		<i></i>
		<a href="{{ path('articles') }}">Медицинская энциклопедия</a>
		<i></i>
		<a href="{{ path('rubrique', {'rubrique':rubrique.rubrique}) }}">{{ rubrique }}</a>
	</div>
{% endblock %}


{% block content %}
	{% include 'VidalMainBundle:Article:render_article.html.twig' %}

	{% if products is defined and products is not empty %}
		<div class="documents-anons anons">
			<b>{{ article.title|raw }}</b>: применяемые препараты безрецептурного отпуска
		</div>
		{% include 'VidalDrugBundle:Vidal:render_products.html.twig' %}
	{% endif %}

	{% if pre_products is defined and pre_products is not empty %}
		<div class="documents-anons anons">
			<b>{{ article.title|raw }}</b>: применяемые рецептурные препараты
		</div>
		{% include 'VidalDrugBundle:Vidal:render_products.html.twig' with {'products':pre_products, 'companies':pre_companies, 'pictures':pre_pictures, 'infoPages':pre_infoPages} %}
	{% endif %}

	{% if documents is defined and documents is not empty %}
		<div class="documents-anons anons">
			<b>{{ article.title|raw }}</b>: применяемые вещества
		</div>
		<ul class="ul-style documents">
			{% for document in documents %}
				<li>
					<a href="{{ path('document', {'EngName':document.Name, 'DocumentID':document.DocumentID}) }}"
					   class="no-underline">
						{{ document.RusName|ucwords|raw }}
					</a>
				</li>
			{% endfor %}
		</ul>
	{% endif %}<commit_msg>updates @ documents of articles<commit_after>{% extends 'VidalMainBundle::layout.html.twig' %}


{% block title %}
	<h1>
		{{ article.title|raw }}
		{# админам карандашик редактирования #}
		{% if is_granted('ROLE_ADMIN') %}
			<a class="admin-edit fade" target="_blank"
			   href="{{ path('admin_vidal_drug_article_edit', {'id':article.id}) }}">
				<img src="{{ asset('bundles/vidalmain/images/edit.png') }}"/>
			</a>
		{% endif %}
	</h1>
{% endblock %}


{% block nav %}
	<div class="breadcrumbs">
		<a href="{{ path('index') }}">Видаль</a>
		<i></i>
		<a href="{{ path('articles') }}">Медицинская энциклопедия</a>
		<i></i>
		<a href="{{ path('rubrique', {'rubrique':rubrique.rubrique}) }}">{{ rubrique }}</a>
	</div>
{% endblock %}


{% block content %}
	{% include 'VidalMainBundle:Article:render_article.html.twig' %}

	{% if products is defined and products is not empty %}
		<div class="documents-anons anons">
			<b>{{ article.title|raw }}</b>: применяемые препараты безрецептурного отпуска
		</div>
		{% include 'VidalDrugBundle:Vidal:render_products.html.twig' %}
	{% endif %}

	{% if pre_products is defined and pre_products is not empty %}
		<div class="documents-anons anons">
			<b>{{ article.title|raw }}</b>: применяемые рецептурные препараты
		</div>
		{% include 'VidalDrugBundle:Vidal:render_products.html.twig' with {'products':pre_products, 'companies':pre_companies, 'pictures':pre_pictures, 'infoPages':pre_infoPages} %}
	{% endif %}

	{% if documents is defined and documents is not empty %}
		<div class="documents-anons anons">
			<b>{{ article.title|raw }}</b>: возможно также применение препаратов с активными веществами
		</div>
		<ul class="ul-style documents">
			{% for document in documents %}
				<li>
					<a href="{{ path('document', {'EngName':document.Name, 'DocumentID':document.DocumentID}) }}"
					   class="no-underline">
						{{ document.RusName|ucwords|raw }}
					</a>
				</li>
			{% endfor %}
		</ul>
	{% endif %}
{'fraction_non_alphanumeric': 0.19638709677419355, 'fraction_numerical': 0.001032258064516129, 'mean_word_length': 4.41340782122905, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6540038', 'n_tokens_mistral': 1624, 'n_tokens_neox': 1427, 'n_words': 290}