mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
92 lines
4.2 KiB
PHP
92 lines
4.2 KiB
PHP
@extends('layouts/default')
|
|
|
|
{{-- Page title --}}
|
|
@section('title')
|
|
Bulk Edit
|
|
@parent
|
|
@stop
|
|
|
|
|
|
@section('header_right')
|
|
<a href="{{ URL::previous() }}" class="btn btn-sm btn-primary pull-right">
|
|
{{ trans('general.back') }}</a>
|
|
@stop
|
|
|
|
{{-- Page content --}}
|
|
@section('content')
|
|
<div class="row">
|
|
<div class="col-md-8 col-md-offset-2">
|
|
|
|
|
|
|
|
|
|
<form class="form-horizontal" method="post" action="{{ route('models.bulkedit.store') }}" autocomplete="off" role="form">
|
|
{{ csrf_field() }}
|
|
|
|
<div class="box box-default">
|
|
<div class="box-body">
|
|
|
|
|
|
|
|
<!-- manufacturer -->
|
|
<div class="form-group {{ $errors->has('manufacturer_id') ? ' has-error' : '' }}">
|
|
<label for="manufacturer_id" class="col-md-3 control-label">
|
|
{{ trans('general.manufacturer') }}
|
|
</label>
|
|
<div class="col-md-7">
|
|
{{ Form::select('manufacturer_id', $manufacturer_list , Input::old('manufacturer_id', 'NC'), array('class'=>'select2', 'style'=>'width:350px')) }}
|
|
{!! $errors->first('manufacturer_id', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
<!-- category -->
|
|
<div class="form-group {{ $errors->has('category_id') ? ' has-error' : '' }}">
|
|
<label for="category_id" class="col-md-3 control-label">
|
|
{{ trans('general.category') }}
|
|
</label>
|
|
<div class="col-md-7">
|
|
{{ Form::select('category_id', $category_list , Input::old('category_id', 'NC'), array('class'=>'select2', 'style'=>'width:350px')) }}
|
|
{!! $errors->first('category_id', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
<!-- custom fields -->
|
|
<div class="form-group {{ $errors->has('fieldset_id') ? ' has-error' : '' }}">
|
|
<label for="category_id" class="col-md-3 control-label">
|
|
{{ trans('admin/models/general.fieldset') }}
|
|
</label>
|
|
<div class="col-md-7">
|
|
{{ Form::select('fieldset_id', $fieldset_list , Input::old('fieldset_id', 'NC'), array('class'=>'select2', 'style'=>'width:350px')) }}
|
|
{!! $errors->first('fieldset_id', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
<!-- depreciation -->
|
|
<div class="form-group {{ $errors->has('depreciation_id') ? ' has-error' : '' }}">
|
|
<label for="category_id" class="col-md-3 control-label">
|
|
{{ trans('general.depreciation') }}
|
|
</label>
|
|
<div class="col-md-7">
|
|
{{ Form::select('depreciation_id', $depreciation_list , Input::old('depreciation_id', 'NC'), array('class'=>'select2', 'style'=>'width:350px')) }}
|
|
{!! $errors->first('depreciation_id', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@foreach ($models as $model)
|
|
<input type="hidden" name="ids[{{ $model->id }}]" value="{{ $model->id }}">
|
|
@endforeach
|
|
</div> <!--/.box-body-->
|
|
|
|
<div class="box-footer text-right">
|
|
<button type="submit" class="btn btn-success"><i class="fa fa-check icon-white"></i> {{ trans('general.save') }}</button>
|
|
</div>
|
|
</div> <!--/.box.box-default-->
|
|
</form>
|
|
</div> <!--/.col-md-8-->
|
|
</div>
|
|
@stop
|