form.blade.php 949 B

123456789101112131415161718192021222324252627282930
  1. {!! $start !!}
  2. <div class="box-body fields-group">
  3. @foreach($fields as $field)
  4. {!! $field->render() !!}
  5. @endforeach
  6. </div>
  7. @if ($method != 'GET')
  8. <input type="hidden" name="_token" value="{{ csrf_token() }}">
  9. @endif
  10. <!-- /.box-body -->
  11. @if($buttons['submit'] || $buttons['reset'])
  12. <div class="box-footer row" style="display: flex">
  13. <div class="col-md-2"> &nbsp;</div>
  14. <div class="col-md-8">
  15. @if(! empty($buttons['reset']))
  16. <button type="reset" class="btn btn-warning pull-left"><i class="feather icon-rotate-ccw"></i> {{ trans('admin.reset') }}</button>
  17. @endif
  18. @if(! empty($buttons['submit']))
  19. <button type="submit" class="btn btn-primary pull-right"><i class="feather icon-save"></i> {{ trans('admin.submit') }}</button>
  20. @endif
  21. </div>
  22. </div>
  23. @endif
  24. {!! $end !!}