| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  | <div> | 
					
						
							| 
									
										
										
										
											2022-11-10 03:30:08 +08:00
										 |  |  |     <form action="{{ url("/preferences/change-view/" . $type) }}" method="POST" class="inline"> | 
					
						
							| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  |         {!! csrf_field() !!} | 
					
						
							|  |  |  |         {!! method_field('PATCH') !!} | 
					
						
							| 
									
										
										
										
											2022-11-10 03:30:08 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-08 02:33:32 +08:00
										 |  |  |         @if ($view === 'list') | 
					
						
							| 
									
										
										
										
											2023-01-29 00:06:11 +08:00
										 |  |  |             <button type="submit" name="view" value="grid" class="icon-list-item text-link"> | 
					
						
							| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  |                 <span class="icon">@icon('grid')</span> | 
					
						
							|  |  |  |                 <span>{{ trans('common.grid_view') }}</span> | 
					
						
							| 
									
										
										
										
											2019-02-16 23:05:18 +08:00
										 |  |  |             </button> | 
					
						
							| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  |         @else | 
					
						
							| 
									
										
										
										
											2023-01-29 00:06:11 +08:00
										 |  |  |             <button type="submit" name="view" value="list" class="icon-list-item text-link"> | 
					
						
							| 
									
										
										
										
											2019-02-16 23:05:18 +08:00
										 |  |  |                 <span>@icon('list')</span> | 
					
						
							| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  |                 <span>{{ trans('common.list_view') }}</span> | 
					
						
							| 
									
										
										
										
											2019-02-16 23:05:18 +08:00
										 |  |  |             </button> | 
					
						
							| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  |         @endif | 
					
						
							|  |  |  |     </form> | 
					
						
							|  |  |  | </div> |