A free open source IT asset/license management system
Added genetic modal partial
snipeff9af7ea740b
diff --git a/resources/views/modals/confirm-action.blade.php b/resources/views/modals/confirm-action.blade.phpindex 2d1a7fcd32..14e97fdd4d 100644--- a/resources/views/modals/confirm-action.blade.php+++ b/resources/views/modals/confirm-action.blade.php@@ -1,31 +1,27 @@<!-- Modal -->-<div class="modal fade" id="confirmAction" tabindex="-1" role="dialog" aria-labelledby="confirmActionLabel" aria-hidden="true">+<div class="modal modal-purple fade" id="{{ $modal_name }}" tabindex="-1" role="dialog" aria-labelledby="{{ $modal_name }}Label" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>- <h4 class="modal-title" id="confirmActionLabel">{{ trans('general.file_upload') }}</h4>+ <h4 class="modal-title" id="{{ $modal_name }}Label">{{ $title }}</h4></div>- {{ Form::open([- 'method' => 'POST',- 'route' => ['upload/'.$item_type, $item_id],- 'files' => true,- 'class' => 'form-horizontal' ]) }}+ <form action="{{ $route }}" method="POST" class="form-horizontal"><input type="hidden" name="_token" value="{{ csrf_token() }}" /><div class="modal-body"><div class="row"><div class="col-md-12">- Blah+ {{ $body }}</div></div></div> <!-- /.modal-body--><div class="modal-footer"><a href="#" class="pull-left" data-dismiss="modal">{{ trans('button.cancel') }}</a>- <button type="submit" class="btn btn-primary">{{ trans('button.upload') }}</button>+ <button type="submit" class="btn btn-primary">{{ trans('general.confirm') }}</button></div>- {{ Form::close() }}+ </form></div></div></div>