merhaba;
formlarım çakışıyor.
blade dosyam.
<form method="post" action="{{ route('pdfview',['download'=>'pdf']) }}">
<a href="{{ URL::to('getExport') }}" class="btn btn-info">Excel ile İndir</a>
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="submit" value="pdfindir">
<a href="{{ route('pdfview',['download'=>'pdf']) }}" class="btn btn-danger">PDF ile İndir</a>
</div>
<div class="box-body">
<table id="example2" class="table table-bordered table-hover">
<thead>
<tr>
<th>Seç</th>
<th>No</th>
<th>Adı</th>
<th>Soyadı</th>
<th>E-Mail</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
@php
$i = 1
@endphp
@foreach($uyes as $uye)
<tr>
<th>
<input type="checkbox" name="style[]" value="{!! $uye -> id !!}">
</th>
<td>{!! $i++ !!}</td>
<td>{!! $uye -> adi !!}</td>
<td>{!! $uye -> soyadi !!}</td>
<td>{!! $uye -> email !!}</td>
<td>
<button type="button" class="btn btn-success" data-toggle="modal" data-target="#duzenle" >Düzenle</button>
<div class="modal fade" id="duzenle" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h2 class="header">Kişileri Düzenle</h2>
</div>
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Kişiyi Düzenle</h3>
</div>
<form method="post" role="form" action="{{ action('AdminController@update', $uye->id) }}">
<input type="hidden" name="_token" id="csrf-token" value="{{ Session::token() }}" />
<div class="box-body">
<div class="form-group">
<label for="adi">Adı</label>
<input type="text" class="form-control" id="adi" placeholder="Adını Giriniz" name="adi" value="{!! $uye -> adi !!}">
</div>
<div class="form-group">
<label for="soyadi">Soyadı</label>
<input type="text" class="form-control" id="soyadi" placeholder="Soyadını Giriniz" name="soyadi" value="{!! $uye -> soyadi !!}">
</div>
<div class="form-group">
<label for="email">E-Mail</label>
<input type="text" class="form-control" id="email" placeholder="E-Mailini Giriniz" name="email" value="{!! $uye -> email !!}">
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<button type="submit" class="btn btn-primary">Kaydet</button>
</div>
</form>
</div>
</div>
</div>
</section>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#sil" >Sil</button>
<div class="modal fade" id="sil" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h2 class="header">Kişileri Sil</h2>
</div>
<div class="container col-md-8 col-md-offset-2">
<div class="well well bs-component">
<div class="content">
<h2 class="header">Bu Kişi Silinecek</h2>
<br>
<p>{!! $uye->adi !!}</p>
<p>{!! $uye->soyadi !!}</p>
<p>{!! $uye->email !!}</p>
</div>
<a href="{!! action('AdminController@index', null) !!}" class="btn btn-info">Vazgeç</a>
<form method="post" action="{!! action('AdminController@destroy', $uye->id) !!}" class="pull-left">
<input type="hidden" name="_token" value="{!! csrf_token() !!}">
<div class="form-grup">
<div>
<button type="submit" class="btn btn_warning">Sil</button>
</div>
</div>
</form>
</div>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div></td>
</tr>
@endforeach
</tbody>
</table>
</form>
</div>
@endsection
başta kullandığım formla bunu en sonda kapatıyorum.
<form method="post" action="{{ route('pdfview',['download'=>'pdf']) }}">
bu form çakışıyor
<form method="post" role="form" action="{{ action('AdminController@update', $uye->id) }}">
sorun tam olarak şu ilk formu sonda kapatmazsan verileri taşımıyor hata alıyorum. sonda kapatırsın ikinci form çalışmıyor.