<?php $__env->startSection('content'); ?>
	<h2><?php echo $label['materials'][$lang]; ?> - <?php echo $label['task'][$lang]; ?></h2>
	<?php echo Form::open(array('url' => 'usedmat/create')); ?>
	<div class="box ffr">
		<div class="label"><?php echo $label['material'][$lang]; ?> : </div>
		<div class="data"><?php echo Form::select('used_what', $material_options, Input::old('used_what')); ?></div>
	</div>
	<div class="box ffr">
		<div class="label"><?php echo $label['task'][$lang]; ?> : </div>
		<div class="data"><?php echo Form::select('used_for', $task_options, $task_id); ?></div>
	</div>
	<div class="box ffr">
		<div class="label"><?php echo $label['quantity'][$lang]; ?> : </div>
		<div class="data"><?php echo Form::text('used_quantity', Input::old('used_quantity')); ?></div>
	</div>
	<div class="box ffr">
		<div class="label">&nbsp;</div>
		<div class="text">
			<?php echo Form::submit('OK'			, array( 'class' => 'button bn ok')); ?>
			<input onclick="location.href='<?php echo URL::previous(); ?>'" class="button bn cl" value="Cancel" />
		</div>
	</div>
	<?php echo Form::close(); ?>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.default', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>