<br>
<div class="row">
	<div class="col-md-8 col-md-offset-2">
		<div class="panel panel-default">
			<div class="panel-heading">
			Create New User Resource
			</div>
			<div class="panel-body">
				<?= form_open('user_resource/create', array('class'=>'form-horizontal')); ?>
				<?php 
				$options = array();
				foreach($user_roles as $role) {
					$options[$role->role_ID] = $role->role_name;
				}
				?>
				<?= form_dropdown_horizontal(array(
					'name'=>'user_role',
					'label'=>'User Role :',
					'options'=> $options,
					'placeholder'=> 'Select a User Role'
					)); ?>
				<?= form_input_horizontal(array('name'=>'user_resource_type_name','label'=>'User Resource Name:')); ?>
				<br/>
				<div class="row">
					<div class="col-xs-11">
					<?= form_submit(array('value'=>'create')); ?>
					</div>
				</div>
				<br/>
				<?= form_close(); ?>
			</div>
		</div>
	</div>
</div>