예제 #1
0
<div class="bg">
	<h2>
		<?php 
echo groups::manage_subtabs("view");
?>
	</h2>
</div>


	<?php 
if ($form_action) {
    ?>
		<!-- green-box -->
		<div class="green-box" id="submitStatus">
			<h3> <?php 
    echo $form_action;
    ?>
 </h3>
		</div>
	<?php 
}
?>

<div class="table-holder">
	<table class="table">
		<thead>
			<tr>
				<th><?php 
echo Kohana::lang('simplegroups.group_name');
?>
</th>
<div class="bg">
	<h2>
		<?php 
echo groups::manage_subtabs("edit");
?>
	</h2>
</div>
	<?php 
print form::open(NULL, array('enctype' => 'multipart/form-data', 'id' => 'simplegroupForm', 'name' => 'simplegroupForm'));
?>
		<input type="hidden" name="save" id="save" value="">
		<!-- report-form -->
		<div class="report-form">
			<?php 
if ($form_error) {
    ?>
				<!-- red-box -->
				<div class="red-box">
					<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
					<ul>
					<?php 
    foreach ($errors as $error_item => $error_description) {
        print !$error_description ? '' : "<li>" . $error_description . "</li>";
    }
    ?>
					</ul>
				</div>
			<?php