Beispiel #1
0
                </tr>
        <? endforeach; ?>
        </table>
    <? endif; ?>
</div>

<div class="contact_method">
    <h2>Contact methods for this minyan: </h2>
    <form action="<?php 
echo url_for('subscriptions/updateContactMethod?minyanId=' . $minyan->getId());
?>
" method="post">
        <input name="contact_method[phone]" type="checkbox" <?php 
echo FormUtils::writeChecked($minyanUser->getUsePhone());
?>
 /> Phone <br/>
        <input name="contact_method[text]" type="checkbox" <?php 
echo FormUtils::writeChecked($minyanUser->getUseSms());
?>
 /> Text <br/>
        <input name="contact_method[email]" type="checkbox" <?php 
echo FormUtils::writeChecked($minyanUser->getUseEmail());
?>
 /> Email <br/><br/>

        <button type="submit" class="fancy">Update</button>
    </form>
</div>

<? Utils::clearDiv(); ?>