Exemplo n.º 1
0
								
								<label><input type="hidden" name="grassroots__student" value="false"><input type="checkbox" name="grassroots__student" <?php echo form_checked($s['grassroots__student']); ?> value=1> Student</label>
								<label><input type="hidden" name="teacher" value="false"><input type="checkbox" name="teacher" value=1  <?php echo form_checked($s['teacher']); ?>> Teacher</label>
								<label>Grades Taught</label>
								<input name="grassroots__grades_taught">
								
							</div><!--span -->
							
							<div class="span3 hide">
								<label>Ryse Group</label>
								<input name="ryse__group_name">

								<label>RYSE Group Options</label>
								<input name="ryse__group_options">
								<label><input type="checkbox" name="activist" <?php echo form_checked($s['activist']); ?>> Activist (old)</label>
								<label><input type="checkbox" name="get_involved" <?php echo form_checked($s['get_involved']); ?>> Get Involved (old)</label>
								grassroots__notes
								donation_note
								image
							</div><!--span -->

						</div><!--row -->

						
					</div> <!-- activist-->
					
					<div id="add-issues" class="tab-pane" >
					
						<label>Issues</label>
						<select id="issues" multiple="multiple" name="issues[]" style="height:110px;">
							<?php include("partials/options/_issues.php"); ?>
Exemplo n.º 2
0
function form_checkbox($label, $name, $value = NULL)
{
    $out = ' <label class="checkbox"><input name="' . $name . '" type="checkbox"  ' . form_checked($value) . ' >' . $label . '</label>';
    return $out;
}