Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
final_project
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
evilla_gomez_guian_principe
final_project
Commits
47ab9dcc
Commit
47ab9dcc
authored
Jul 21, 2016
by
Wills Gomez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed fuck up on profile
parent
26f76714
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
profile.html.erb
Halalan-FINAL/app/views/pages/profile.html.erb
+0
-21
No files found.
Halalan-FINAL/app/views/pages/profile.html.erb
View file @
47ab9dcc
...
...
@@ -6,7 +6,6 @@
<div
class=
"col-md-12"
>
<h2>
Hey
<%=
current_user
.
first_name
%>
!
</h2>
<br>
<
<<<<<<
HEAD
<h4>
You Voted for:
</h4>
<br>
<ul>
...
...
@@ -38,26 +37,6 @@
<h5></h5>
<%
end
%>
</ul>
=======
<%
if
@currentuser
.
votes
.
size
>
0
%>
You Voted for:
<br>
<ul>
<%
current_user
.
votes
.
each
do
|
v
|
%>
<li>
<%=
"
#{
v
.
candidate
.
position
.
name
}
:
#{
v
.
candidate
.
full_name
}
"
%>
<p>
Comments:
<%=
v
.
comment
%>
</p>
</li>
<%
end
%>
</ul>
<%
else
%>
<center>
<h4>
<%=
link_to
"You haven't voted for any candidates yet. Vote Now!"
,
"/voting/votes"
%>
</h4>
</center>
<%
end
%>
>>>>>>> 9a919a4f1954bbaa640bd8813e4bc205c39e1657
</div>
</div>
</div>
\ No newline at end of file
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