<link rel="stylesheet" href="{{ asset('assets/vendors/bootstrap-tagsinput/css/bootstrap-tagsinput.css') }}" />
<link rel="stylesheet" href="{{ asset('assets/vendors/bootstrap-tagsinput/css/app.css') }}" />
<style>
    #e-book .btn-group{
        width: 100%;
    }
    #e-book .multiselect-container{
        width: inherit;
    }
    #e-book .multiselect-container>li>a>label.checkbox {
    white-space: normal;
}
</style>

<section class="content">
    <div class="row">
        <div class="col-md-12">
            <!-- BEGIN SAMPLE TABLE PANEL-->
            <div class="panel panel-primary">
                <div class="panel-heading">
                    
                        <i class="livicon" data-name="responsive" data-size="16" data-loop="true" data-c="#fff" data-hc="white"></i>
                        Marcdata Journals Record 
                                    
                </div>
                
                <div class="panel-body">
                
                                                  
                        {{ Form::open(array('url' => 'user/marcdata/journal')) }}
                        <div class="my-3" id="e-book">
                            <div class="form-group">
                                <label class="control-label col-md-2" for="select21">Journals: *</label>
                                <div class="col-md-10">
                                <select id="multiselect11" multiple="multiple" class="form-control" name="journal_id[]" required="required">
                                @isset($journals)
                                    @foreach($journals as $value)
                                        <option value="{{$value->journal_id}}"  @isset($param) @if($param['journal_id'] == $key) selected @endif @endisset>{{$value->subtitle}} - {!!$value->title!!}</option>
                                    @endforeach
                                @endisset
                                </select>
                                </div>
                            </div>
                            <hr>
                            <div class="text-center"> {{ Form::submit('Generate', array('class' => 'btn btn-primary pull-right','value' => 'submit')) }}</div>
                        </div>
                                    <!--/.panel-body -->
                        {{ Form::close() }}
              
                     
                                            <!-- BEGIN SAMPLE TABLE PANEL-->
                   
                </div>                          
            </div>
            <!-- END SAMPLE TABLE PANEL-->
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <!-- BEGIN SAMPLE TABLE PANEL-->
            <div class="panel panel-primary">
                <div class="panel-heading">
                    
                        <i class="livicon" data-name="responsive" data-size="16" data-loop="true" data-c="#fff" data-hc="white"></i>
                        Marcdata eBooks Record 
                                      
                </div>
                
                <div class="panel-body">
                                           
                        {{ Form::open(array('url' => 'user/marcdata/ebook')) }}
                        <div class="my-3" id="e-book">
                            <div class="form-group">
                                <label class="control-label col-md-2" for="select21">eBooks: *</label>
                                <div class="col-md-10">
                                <select id="multiselect12" multiple="multiple" class="form-control" name="ebook_id[]" required="required">
                                @isset($ebooks)
                                    @foreach($ebooks as $value)
                                        <option value="{{$value->ebook_id}}"  @isset($param) @if($param['ebook_id'] == $key) selected @endif @endisset>{!!$value->title!!}</option>
                                    @endforeach
                                @endisset
                                </select>
                              </div>
                            </div>
                             <hr>
                            <div class="text-center"> {{ Form::submit('Generate', array('class' => 'btn btn-primary','value' => 'submit')) }} </div>
                        </div>
                                    <!--/.panel-body -->
                        {{ Form::close() }}
                
                        
                                            <!-- BEGIN SAMPLE TABLE PANEL-->
                   
                </div>                          
            </div>
            <!-- END SAMPLE TABLE PANEL-->
        </div>
    </div>    
</section> 
@include('admin.layouts.js')
<script src="{{ asset('assets/vendors/bootstrap-tagsinput/js/bootstrap-tagsinput.js') }}"  type="text/javascript"></script>