<fieldset>
	<legend>Activate Account</legend>

	<div class="panel-body">
		<p>You should have received an email with a pass code. Please enter that pass code here.</p>

		<?php if (is_object($o) AND $o->loaded()) : ?>
			<input type="hidden" name="email" value="<?php echo $o->email; ?>"/>

		<?php else : ?>
			<div class="input-group col-md-3">
				<span class="input-group-addon"><i class="fa fa-envelope fa-fw"></i></span>
				<input type="email" id="email" name="email" value="<?php echo $email; ?>" placeholder="Email" class="form-control" required />
			</div>
		<?php endif ?>

		<div class="input-group col-md-3">
			<span class="input-group-addon"><i class="fa fa-bomb fa-fw"></i></span>
			<input type="text" id="code" name="code" value="" placeholder="Activation Code" class="form-control" required />
		</div>
		<span class="help-block">Need to <?php echo HTML::anchor(URL::link('','login/activate_resend'),'resend'); ?> it?</span>
	</div> <!-- /panel-body -->
</fieldset>

<div class="row">
	<div class="col-md-offset-1">
		<button type="submit" class="btn btn-primary">Activate</button>
		<button type="button" class="btn btn-default">Cancel</button>
	</div>
</div>
