{# # This file is part of MedShakeEHR. # # Copyright (c) 2017 # Bertrand Boutillier # http://www.medshake.net # # MedShakeEHR is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version. # # MedShakeEHR is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with MedShakeEHR. If not, see . #/ /## # Template > patient : formulaire d'ajout d'une ligne à l'ordonnance # # @author Bertrand Boutillier # @contrib fr33z00 #} {% import "macroForm.html.twig" as f %} {% if page.ligneOrdo %}{% set ligne = page.ligneOrdo %}{% endif %}
{{ f.textarea ({ 'textarea' : { 'name' : ligne.formname , 'id' : 'ligne' ~ ligne.formname ~'ID', 'class' : 'form-control form-control-sm', 'value' : ligne.description , 'autocomplete' : 'off', 'rows' : '2' }, 'label' : { 'position' : 'before', 'label' : ligne.label ~ ligne.labelInitiale, 'class' : 'control-label' } }) }}