File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
resources/views/linkstack/modules Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 90
90
<span class =" display-name" >admin</span ></a ></li >
91
91
<li ><a class =" ab-item" href =" {{ url (' /studio/page' ) } }" >Edit My Profile</a ></li >
92
92
<li ><a class =" ab-item" onclick =" submitForm()" style =" cursor :pointer " >Log Out</a ></li >
93
- <script >
94
- function submitForm () {
95
- document .getElementById (' logoutForm' ).submit ();
96
- }
97
- </script >
98
- <form id =" logoutForm" action =" {{ route (' logout' ) } }" method =" post" >
99
- <input type =" hidden" name =" _token" value =" {{ csrf_token () } }" >
100
- </form >
101
93
</ul >
102
94
</div >
103
95
</li >
104
96
</ul >
105
97
</div >
106
- <a class =" screen-reader-shortcut" href = " {{ route ( ' logout ' ) } } " >Log Out</a >
98
+ <a class =" screen-reader-shortcut" onclick = " submitForm() " style = " cursor : pointer " >Log Out</a >
107
99
</div >
108
100
</div >
101
+ <script >
102
+ function submitForm () {
103
+ document .getElementById (' logoutForm' ).submit ();
104
+ }
105
+ </script >
106
+ <form id =" logoutForm" action =" {{ route (' logout' ) } }" method =" post" >
107
+ <input type =" hidden" name =" _token" value =" {{ csrf_token () } }" >
108
+ </form >
109
109
@endif
110
110
@endif
You can’t perform that action at this time.
0 commit comments