<div class="form-group">
	<?php if($new): ?>
	<?php echo Form::hidden('published', '0'); ?>

	<?php echo Form::checkbox('published', '1', true); ?>

	<?php else: ?>
	<?php echo Form::hidden('published', '0'); ?>

	<?php echo Form::checkbox('published', '1'); ?>

	<?php endif; ?>
	<?php echo Form::label('published', trans('general.publicado')); ?>

</div>
<div class="form-group<?php echo e($errors->has('title') ? ' has-error' : ''); ?>">
	<?php echo Form::label('title', trans('general.titulo')); ?>

	<?php echo Form::text('title', null, ['class' => 'form-control']); ?>

	<?php if($errors->has('title')): ?>
		<span class="help-block">
			<strong><?php echo e($errors->first('title')); ?></strong>
		</span>
	<?php endif; ?>
</div>
<div class="form-group<?php echo e($errors->has('description') ? ' has-error' : ''); ?>">
	<?php echo Form::label('description', trans('general.descripcion')); ?>

	<?php echo Form::textarea('description', null, ['class' => 'form-control']); ?>

	<?php if($errors->has('description')): ?>
		<span class="help-block">
			<strong><?php echo e($errors->first('description')); ?></strong>
		</span>
	<?php endif; ?>
</div>
<div class="form-group<?php echo e($errors->has('image') ? ' has-error' : ''); ?>">
	<?php echo Form::label('image', trans('general.imagen')); ?>

	<?php echo Form::file('image'); ?>

	<?php if($errors->has('image')): ?>
		<span class="help-block">
			<strong><?php echo e($errors->first('image')); ?></strong>
		</span>
	<?php endif; ?>
</div>
<div class="pull-right">
	<?php echo Form::submit(trans('general.save'), ['class' => 'btn btn-success btn-flat']); ?>

	<a href="<?php echo e(asset('/notices')); ?>" type="button" class="btn btn-default btn-flat"><?php echo e(trans('general.cancel')); ?></a>
</div>