示例#1
0
        ?>
</td>
					<td><?php 
        echo breast($feeding->getBreastRight());
        ?>
</td>
					<td><?php 
        echo bottle($feeding);
        ?>
</td>
					<td><?php 
        echo milking($feeding);
        ?>
</td>
					<td><?php 
        echo DiaperAmount::asString($feeding->getPee());
        ?>
</td>
					<td><?php 
        echo DiaperAmount::asString($feeding->getPoo());
        ?>
</td>
				</tr>
			<?php 
    }
    ?>
			</tbody>
		</table>
	</div>
<?php 
});
示例#2
0
    foreach (DiaperAmount::all() as $amount) {
        ?>

						<div class="radio">
							<label>
								<input class="js-form-trigger-submit" type="radio" name="poo" value="<?php 
        echo $amount;
        ?>
" <?php 
        if ($model->getFeeding()->getPoo() == $amount) {
            echo 'checked="checked"';
        }
        ?>
>
								<?php 
        echo DiaperAmount::asString($amount);
        ?>
							</label>
						</div>

					<?php 
    }
    ?>
				</div>
			</div>

			<?php 
    $this->partial('Commit');
    ?>

		</form>