token_update_patch
Updated token issue in admin panel
This commit is contained in:
@@ -74,6 +74,7 @@ class SettingsController extends Controller
|
|||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<form action="'.url('edit-widget/'.$model->id).'" method="POST">
|
<form action="'.url('edit-widget/'.$model->id).'" method="POST">
|
||||||
|
'.csrf_field().'
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||||
<h4 class="modal-title">'.strtoupper($model->name).' </h4>
|
<h4 class="modal-title">'.strtoupper($model->name).' </h4>
|
||||||
@@ -160,6 +161,7 @@ class SettingsController extends Controller
|
|||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<form action="'.url('edit-widget/'.$model->id).'" method="POST">
|
<form action="'.url('edit-widget/'.$model->id).'" method="POST">
|
||||||
|
'.csrf_field().'
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||||
<h4 class="modal-title">'.strtoupper($model->name).' </h4>
|
<h4 class="modal-title">'.strtoupper($model->name).' </h4>
|
||||||
|
@@ -30,6 +30,7 @@ class="active"
|
|||||||
<!-- open a form -->
|
<!-- open a form -->
|
||||||
|
|
||||||
<form action="{!!URL::route('priority.create1')!!}" method="post" role="form">
|
<form action="{!!URL::route('priority.create1')!!}" method="post" role="form">
|
||||||
|
{{ csrf_field() }}
|
||||||
<div class="box box-primary">
|
<div class="box box-primary">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h2 class="box-title">{{Lang::get('lang.create')}}</h2>
|
<h2 class="box-title">{{Lang::get('lang.create')}}</h2>
|
||||||
|
@@ -29,6 +29,7 @@ class="active"
|
|||||||
@section('content')
|
@section('content')
|
||||||
<!-- open a form -->
|
<!-- open a form -->
|
||||||
<form action="{!!URL::route('priority.edit1')!!}" method="post" role="form">
|
<form action="{!!URL::route('priority.edit1')!!}" method="post" role="form">
|
||||||
|
{{ csrf_field() }}
|
||||||
<input type="hidden" name="priority_id" value="{{$tk_priority->priority_id}}">
|
<input type="hidden" name="priority_id" value="{{$tk_priority->priority_id}}">
|
||||||
<div class="box box-primary">
|
<div class="box box-primary">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
|
@@ -124,7 +124,9 @@ class="active"
|
|||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'post',
|
type: 'post',
|
||||||
url: '{{route("user.priority.index")}}',
|
url: '{{route("user.priority.index")}}',
|
||||||
data: {user_settings_priority: user_settings_priority},
|
data: {
|
||||||
|
"_token": "{{ csrf_token() }}",
|
||||||
|
user_settings_priority: user_settings_priority},
|
||||||
success: function (result) {
|
success: function (result) {
|
||||||
// with('success', Lang::get('lang.approval_settings-created-successfully'));
|
// with('success', Lang::get('lang.approval_settings-created-successfully'));
|
||||||
// alert("Hi, testing");
|
// alert("Hi, testing");
|
||||||
|
@@ -32,6 +32,7 @@ class="active"
|
|||||||
<!-- content -->
|
<!-- content -->
|
||||||
@section('content')
|
@section('content')
|
||||||
<form class="form-horizontal" action="{!! URL::route('workflow.store') !!}" method="POST" id="form">
|
<form class="form-horizontal" action="{!! URL::route('workflow.store') !!}" method="POST" id="form">
|
||||||
|
{{ csrf_field() }}
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- /.box-header -->
|
<!-- /.box-header -->
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
|
@@ -32,6 +32,7 @@ class="active"
|
|||||||
<!-- content -->
|
<!-- content -->
|
||||||
@section('content')
|
@section('content')
|
||||||
<form class="form-horizontal" action="{!! URL::route('workflow.update', $id) !!}" method="POST">
|
<form class="form-horizontal" action="{!! URL::route('workflow.update', $id) !!}" method="POST">
|
||||||
|
{{ csrf_field() }}
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<!-- /.box-header -->
|
<!-- /.box-header -->
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
|
@@ -73,6 +73,7 @@ class="active"
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<form action="{{ url('delete-notification-log') }}" method="post">
|
<form action="{{ url('delete-notification-log') }}" method="post">
|
||||||
|
{{ csrf_field() }}
|
||||||
<div class="callout callout-default" style="font-style: oblique;">{!! Lang::get('lang.noti_msg2') !!}</div>
|
<div class="callout callout-default" style="font-style: oblique;">{!! Lang::get('lang.noti_msg2') !!}</div>
|
||||||
<input type="number" class="form-control" name='no_of_days' placeholder="{!! lang::get('lang.enter_no_of_days') !!}">
|
<input type="number" class="form-control" name='no_of_days' placeholder="{!! lang::get('lang.enter_no_of_days') !!}">
|
||||||
<button type="submit" class="btn btn-primary">{!! Lang::get('lang.submit') !!}</button>
|
<button type="submit" class="btn btn-primary">{!! Lang::get('lang.submit') !!}</button>
|
||||||
|
Reference in New Issue
Block a user