You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					37 lines
				
				778 B
			
		
		
			
		
	
	
					37 lines
				
				778 B
			| 
								 
											7 months ago
										 
									 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								    <title>Departamentos</title>
							 | 
						||
| 
								 | 
							
								    <style>
							 | 
						||
| 
								 | 
							
								        table {
							 | 
						||
| 
								 | 
							
								            width: 100%;
							 | 
						||
| 
								 | 
							
								            border-collapse: collapse;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        th, td {
							 | 
						||
| 
								 | 
							
								            border: 1px solid black;
							 | 
						||
| 
								 | 
							
								            padding: 8px;
							 | 
						||
| 
								 | 
							
								            text-align: left;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    </style>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								    <h1>Lista de Departamentos</h1>
							 | 
						||
| 
								 | 
							
								    <table>
							 | 
						||
| 
								 | 
							
								        <thead>
							 | 
						||
| 
								 | 
							
								            <tr>
							 | 
						||
| 
								 | 
							
								                <th>ID</th>
							 | 
						||
| 
								 | 
							
								                <th>Departamento</th>
							 | 
						||
| 
								 | 
							
								            </tr>
							 | 
						||
| 
								 | 
							
								        </thead>
							 | 
						||
| 
								 | 
							
								        <tbody>
							 | 
						||
| 
								 | 
							
								            @foreach($departamentos as $departamento)
							 | 
						||
| 
								 | 
							
								            <tr>
							 | 
						||
| 
								 | 
							
								                <td>{{ $departamento->id }}</td>
							 | 
						||
| 
								 | 
							
								                <td>{{ $departamento->departamento }}</td>
							 | 
						||
| 
								 | 
							
								            </tr>
							 | 
						||
| 
								 | 
							
								            @endforeach
							 | 
						||
| 
								 | 
							
								        </tbody>
							 | 
						||
| 
								 | 
							
								    </table>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |