Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('app');
- @section('content')
- <div class="container">
- <h1>Hábitos</h1>
- <ul>
- @foreach($habitos as $hab)
- <li>{{ $hab->nome }}<br/>
- {{ $hab->descricao }}
- </li>
- <br/>
- @endforeach
- </ul>
- <table>
- <thead>
- <tr>Nome</tr>
- <tr>Descrição</tr>
- <tr>Tipo</tr>
- <tr>Ação</tr>
- </thead>
- <tbody>
- @foreach($habitos as $hab)
- <tr>
- <td>{{ $hab->nome }}</td>
- <td>{{ $hab->descricao }}</td>
- <td>{{ $hab->tp_habito }}</td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement