@@ -73,7 +73,14 @@ class="table table-striped snipe-table"
7373 <nobr >
7474
7575 @can (' update' , $fieldset )
76- <a href =" {{ route (' fieldsets.edit' , $fieldset -> id ) } }" class =" btn btn-warning btn-sm" >
76+
77+ <a href =" {{ route (' fieldsets.show' , [' fieldset' => $fieldset -> id ]) } }" data-tooltip =" true" title =" {{ trans (' general.edit_fieldset' ) } }" >
78+ <button type =" submit" class =" btn btn-info btn-sm" >
79+ <i class =" fa-regular fa-rectangle-list" ></i >
80+ </button >
81+ </a >
82+
83+ <a href =" {{ route (' fieldsets.edit' , $fieldset -> id ) } }" class =" btn btn-warning btn-sm" data-tooltip =" true" title =" {{ trans (' general.update' ) } }" >
7784 <i class =" fas fa-pencil-alt" aria-hidden =" true" ></i >
7885 <span class =" sr-only" >{{ trans (' button.edit' ) } } </span >
7986 </a >
@@ -82,9 +89,9 @@ class="table table-striped snipe-table"
8289 @can (' delete' , $fieldset )
8390 {{ Form:: open ([' route' => array (' fieldsets.destroy' , $fieldset -> id ), ' method' => ' delete' ,' style' => ' display:inline-block' ]) } }
8491 @if ($fieldset -> models -> count () > 0 )
85- <button type =" submit" class =" btn btn-danger btn-sm disabled" disabled ><i class =" fas fa-trash" ></i ></button >
92+ <button type =" submit" class =" btn btn-danger btn-sm disabled" data-tooltip = " true " title = " {{ trans ( ' general.cannot_be_deleted ' ) } } " disabled ><i class =" fas fa-trash" ></i ></button >
8693 @else
87- <button type =" submit" class =" btn btn-danger btn-sm" ><i class =" fas fa-trash" ></i ></button >
94+ <button type =" submit" class =" btn btn-danger btn-sm" data-tooltip = " true " title = " {{ trans ( ' general.delete ' ) } } " ><i class =" fas fa-trash" ></i ></button >
8895 @endif
8996 {{ Form:: close () } }
9097 @endcan
@@ -188,7 +195,7 @@ class="table table-striped snipe-table"
188195 <nobr >
189196 {{ Form:: open (array (' route' => array (' fields.destroy' , $field -> id ), ' method' => ' delete' , ' style' => ' display:inline-block' )) } }
190197 @can (' update' , $field )
191- <a href =" {{ route (' fields.edit' , $field -> id ) } }" class =" btn btn-warning btn-sm" >
198+ <a href =" {{ route (' fields.edit' , $field -> id ) } }" class =" btn btn-warning btn-sm" data-tooltip = " true " title = " {{ trans ( ' general.update ' ) } } " >
192199 <i class =" fas fa-pencil-alt" aria-hidden =" true" ></i >
193200 <span class =" sr-only" >{{ trans (' button.edit' ) } } </span >
194201 </a >
@@ -197,11 +204,11 @@ class="table table-striped snipe-table"
197204 @can (' delete' , $field )
198205
199206 @if ($field -> fieldset -> count ()> 0 )
200- <button type =" submit" class =" btn btn-danger btn-sm disabled" disabled >
207+ <button type =" submit" class =" btn btn-danger btn-sm disabled" data-tooltip = " true " title = " {{ trans ( ' general.cannot_be_deleted ' ) } } " disabled >
201208 <i class =" fas fa-trash" aria-hidden =" true" ></i >
202209 <span class =" sr-only" >{{ trans (' button.delete' ) } } </span ></button >
203210 @else
204- <button type =" submit" class =" btn btn-danger btn-sm" >
211+ <button type =" submit" class =" btn btn-danger btn-sm" data-tooltip = " true " title = " {{ trans ( ' general.delete ' ) } } " >
205212 <i class =" fas fa-trash" aria-hidden =" true" ></i >
206213 <span class =" sr-only" >{{ trans (' button.delete' ) } } </span >
207214 </button >
0 commit comments