4
I have a problem that I believe is quite simple... I need to display the username logged in to my views... how do I do that?
this is one of the views
@extends('layouts.template')
@section('body')
<h3>List_Lists</h3>
<p>
<a href="{{ URL::to('list/create') }}">Adicionar Lista</a> <br />
</p>
<ul style="list-style:none;">
@foreach($lists as $lista)
<li class="task">
<a href="{{ URL::to('list') }}/{{ $lista->id }}">{{ $lista->titulo }}
({{ count( $lista->tasks ) }} Tasks)</a> <br />
</li>
@endforeach
</ul>
@stop
I suggest changing the title of the question for something that better defines the problem. To help in the search of other people who have the same doubt.
– Joao Paulo