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
AkosiCrux
final_project
Commits
b94b5fd2
Commit
b94b5fd2
authored
Jul 20, 2016
by
Paulo Macasaet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
included comments in admin/candidates/show. Macasaet
parent
0d5f29ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
show.html.erb
siraulosolutions/app/views/admin/candidates/show.html.erb
+10
-1
No files found.
siraulosolutions/app/views/admin/candidates/show.html.erb
View file @
b94b5fd2
<h1>
<%=
@candidate
.
nickname
%>
</h1>
<h1>
<%=
@candidate
.
nickname
%>
</h1>
<br>
<br>
<%=
link_to
"Back to List"
,
admin_candidates_path
%>
<ul>
<ul>
<li>
<%=
@candidate
.
first_name
%>
</li>
<li>
<%=
@candidate
.
first_name
%>
</li>
<li>
<%=
@candidate
.
last_name
%>
</li>
<li>
<%=
@candidate
.
last_name
%>
</li>
...
@@ -9,4 +11,11 @@
...
@@ -9,4 +11,11 @@
</ul>
</ul>
<hr>
<hr>
<%=
link_to
"Back to List"
,
admin_candidates_path
%>
<h2>
Comments by Voters for
<%=
@candidate
.
last_name
%>
:
</h2>
<%
@candidate
.
votes
.
each
do
|
x
|
%>
<!-- Paulo Macasaet Item number 3 -->
<li>
Name:
<strong>
<%=
x
.
user
.
email
%>
|| ID:
<%=
x
.
user_id
%>
</strong></li>
<li>
Comments:
<strong>
<%=
x
.
comments
%>
</strong></li>
<%
end
%>
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