0
我想檢查用戶是否登錄,如果是的話顯示一些內容,否則我想單擊一個URL或調用模態。Laravel 5有條件地觸發模態
@if(Auth::check())
.............if user registered display here
@else
I want to click the link below automatically....OR Call a view
<a class="signin_link" href="{{ action('Auth\[email protected]') }}" rel="get:Loginform"><i class="fa fa-user" style="font-size:20px"></i></a>
@endif