token_update_patch
Updated token issue in admin panel
This commit is contained in:
@@ -30,6 +30,7 @@ class="active"
|
||||
<!-- open a form -->
|
||||
|
||||
<form action="{!!URL::route('priority.create1')!!}" method="post" role="form">
|
||||
{{ csrf_field() }}
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h2 class="box-title">{{Lang::get('lang.create')}}</h2>
|
||||
|
@@ -29,6 +29,7 @@ class="active"
|
||||
@section('content')
|
||||
<!-- open a form -->
|
||||
<form action="{!!URL::route('priority.edit1')!!}" method="post" role="form">
|
||||
{{ csrf_field() }}
|
||||
<input type="hidden" name="priority_id" value="{{$tk_priority->priority_id}}">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
|
@@ -124,7 +124,9 @@ class="active"
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
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) {
|
||||
// with('success', Lang::get('lang.approval_settings-created-successfully'));
|
||||
// alert("Hi, testing");
|
||||
|
@@ -32,6 +32,7 @@ class="active"
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
<form class="form-horizontal" action="{!! URL::route('workflow.store') !!}" method="POST" id="form">
|
||||
{{ csrf_field() }}
|
||||
<div class="box">
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
|
@@ -32,6 +32,7 @@ class="active"
|
||||
<!-- content -->
|
||||
@section('content')
|
||||
<form class="form-horizontal" action="{!! URL::route('workflow.update', $id) !!}" method="POST">
|
||||
{{ csrf_field() }}
|
||||
<div class="box">
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
|
@@ -73,6 +73,7 @@ class="active"
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<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>
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user