Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
candi-date-tayo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
George Nicole Balmaceda
candi-date-tayo
Commits
54275f62
Commit
54275f62
authored
Jul 18, 2016
by
royce-matthew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replaced textts
parent
b350914b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
application.html.erb
app/views/layouts/application.html.erb
+1
-1
profile.html.erb
app/views/pages/profile.html.erb
+1
-1
No files found.
app/views/layouts/application.html.erb
View file @
54275f62
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<%
if
user_signed_in?
%>
<%
if
user_signed_in?
%>
<%=
link_to
"Logout"
,
destroy_user_session_path
,{
method: :delete
,
:class
=>
" nav-item right"
}
%>
<%=
link_to
"Logout"
,
destroy_user_session_path
,{
method: :delete
,
:class
=>
" nav-item right"
}
%>
<div
class=
"nav-item nohover right"
>
Hello
<%=
current_user
.
email
%>
</div>
<div
class=
"nav-item nohover right"
>
Hello
<%=
current_user
.
first_name
%>
</div>
<a
href=
"/profile"
class=
"nav-item right"
>
My Profile
</a>
<a
href=
"/profile"
class=
"nav-item right"
>
My Profile
</a>
<%
else
%>
<%
else
%>
<%=
link_to
"Log-in"
,
new_user_session_path
,
{
:class
=>
"nav-item right"
}
%>
<%=
link_to
"Log-in"
,
new_user_session_path
,
{
:class
=>
"nav-item right"
}
%>
...
...
app/views/pages/profile.html.erb
View file @
54275f62
<h4>
Howdy
<%=
current_user
.
email
%>
</h4>
<h4>
Howdy
<%=
current_user
.
first_name
%>
</h4>
You Voted for
<br>
You Voted for
<br>
<ul>
<ul>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment