Highway to PSR2
[openemr.git] / interface / super / rules / controllers / edit / view / sex.php
blobd50caa097626a0c1091b4424ba972542980f8e08
1 <?php
2 // Copyright (C) 2010-2011 Aron Racho <aron@mi-squred.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 ?>
9 <p class="row">
10 <span class="left_col colhead req" data-fld="fld_sex"><?php echo xl('Sex');?></span>
11 <span class="end_col">
12 <?php echo render_select(array( "target" => "fld_sex",
13 "name" => "fld_sex",
14 "value" => $criteria->value,
15 "options" => $criteria->getOptions() )); ?>
16 </span>
17 </p>
19 <br/>
21 <!-- optional/required and inclusion/exclusion fields -->
22 <?php echo common_fields(array( "criteria" => $criteria)); ?>