@extends('layouts.master') @section('headers') @endsection @section('scripts') @endsection @section('mainContainer')

{!! trans('applicationResource.admin.edit') !!}

@include('admin.adminMenuPartial')
{!! csrf_field() !!}
@if ($errors->has('molecule.reference')) {{ $errors->first('molecule.reference') }} @endif
@if ($errors->has('molecule.state')) {{ $errors->first('molecule.state') }} @endif
@if ($errors->has('molecule.solvent')) {{ $errors->first('molecule.solvent') }} @endif
@if ($errors->has('molecule.family')) {{ $errors->first('molecule.family') }} @endif
@if ($errors->has('molecule.subFamily')) {{ $errors->first('molecule.subFamily') }} @endif
@if ($errors->has('molecule.subSubFamily')) {{ $errors->first('molecule.subSubFamily') }} @endif
{{ $molecule->molecularWeight }}
{!! $molecularFormula !!}
@if(old('carbon')!==null) @foreach((old('carbon')) as $i=>$carbon) @endforeach @else @for($i=0;$i @endfor @endif
{!! trans('applicationResource.carbonData.numeration2')!!} {!! trans('applicationResource.carbonData.numeration')!!} {!! trans('applicationResource.carbonData.type')!!} δ(ppm)
@if ($errors->has('carbon.'.$i.'.num2')) {{ $errors->first('carbon.'.$i.'.num2') }} @endif @if ($errors->has('carbon.'.$i.'.numeration')) {{ $errors->first('carbon.'.$i.'.numeration') }} @endif @if ($errors->has('carbon.'.$i.'.num2')) {{ $errors->first('carbon.'.$i.'.shift') }} @endif
@if ($errors->has('molecule.name')) {{ $errors->first('molecule.name') }} @endif
@if ($errors->has('molecule.semiSystematicName')) {{ $errors->first('molecule.semiSystematicName') }} @endif
@if ($errors->has('molecule.jmeNumeration')) {{ $errors->first('molecule.jmeNumeration') }} @endif
@if ($errors->has('molecule.smilesNumeration')) {{ $errors->first('molecule.smilesNumeration') }} @endif

{!! trans('applicationResource.molData.bibliography') !!}

@if ($errors->has('bibliography.authors')) {{ $errors->first('bibliography.authors') }} @endif
@if ($errors->has('bibliography.magazine')) {{ $errors->first('bibliography.magazine') }} @endif
@if ($errors->has('bibliography.year')) {{ $errors->first('bibliography.year') }} @endif
@if ($errors->has('bibliography.volume')) {{ $errors->first('bibliography.volume') }} @endif
@if ($errors->has('bibliography.page')) {{ $errors->first('bibliography.page') }} @endif
@if ($errors->has('bibliography.doi')) {{ $errors->first('bibliography.doi') }} @endif

{!! trans('applicationResource.molData.author')!!}

@if ($errors->has('author.author')) {{ $errors->first('author.author') }} @endif
@if ($errors->has('author.email')) {{ $errors->first('author.email') }} @endif
@if ($errors->has('author.country')) {{ $errors->first('author.country') }} @endif
@if ($errors->has('author.organization')) {{ $errors->first('author.organization') }} @endif
@if ($errors->has('molecule.publicCom')) {{ $errors->first('molecule.publicCom') }} @endif
@if ($errors->has('molecule.privateCom')) {{ $errors->first('molecule.privateCom') }} @endif
@endsection