" <?php echo $app->getInput()->old('pro_moment', $project->pro_moment) == Project::PROJECT_MOMENT_DAY ? 'checked' : ''; ?> ><?php echo Project::getMomentsName(Project::PROJECT_MOMENT_DAY); ?> <input id="pro_moment" name="pro_moment" type="radio" value="<?php echo Project::PROJECT_MOMENT_NIGHT; ?> " <?php echo $app->getInput()->old('pro_moment', $project->pro_moment) == Project::PROJECT_MOMENT_NIGHT ? 'checked' : ''; ?> ><?php echo Project::getMomentsName(Project::PROJECT_MOMENT_NIGHT); ?> </div> </div> </div> <div class="row"> <div class="form-group col-xs-12"> <label for="pro_deadline" class="control-label">Deadline de la entrega</label> <input type="text" placeholder="dd/mm/yyyy" name="pro_deadline" value="<?php echo $app->getInput()->old('pro_deadline', $project->pro_deadline); ?> " id="pro_deadline" class="form-control date-field"> </div> </div>
<p> <?php echo Project::getEnvironmentsName($rs_pro->pro_environment); ?> </p> <?php } ?> <?php if (!empty($rs_pro->pro_moment)) { ?> <h4>Momento del evento:</h4> <p> <?php echo Project::getMomentsName($rs_pro->pro_moment); ?> </p> <?php } ?> <?php if (!empty($rs_pro->pro_deadline)) { ?> <h4>Deadline de la entrega:</h4> <p> <?php echo $projectDeadline; ?> </p>