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
2e43fdba
Commit
2e43fdba
authored
Jul 20, 2016
by
Jasmine Principe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
positions show
parent
b5735bbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
show.html.erb
Halalan-trial/app/views/admin/positions/show.html.erb
+17
-5
No files found.
Halalan-trial/app/views/admin/positions/show.html.erb
View file @
2e43fdba
<%
provide
(
:position
,
"active"
)
%>
<%
provide
(
:position
,
"active"
)
%>
<%
provide
(
:title
,
"
#{
@position
.
name
}
"
)
%>
<%
provide
(
:title
,
"
#{
@position
.
name
}
"
)
%>
<style>
p
{
margin-bottom
:
0
;
padding-bottom
:
0
;
display
:
inline
;
}
h1
{
display
:
inline
}
</style>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<h1>
<
%=
@position
.
name
%
>
</h1>
<h1><
font
size=
"20"
>
<%=
@position
.
name
%>
</font
></h1>
<p>
<%=
link_to
"Edit"
,
edit_admin_position_path
(
@position
.
id
)
%>
<%=
link_to
"Edit"
,
edit_admin_position_path
(
@position
.
id
)
%>
<br>
<%=
link_to
"Delete"
,
admin_position_path
(
@position
.
id
),
method: :delete
%>
<%=
link_to
"Delete"
,
admin_position_path
(
@position
.
id
),
method: :delete
%>
<br>
</p>
<hr>
<hr>
<h2>
Candidates for
<%=
@position
.
name
%>
</h2>
<h2>
Candidates for
<%=
@position
.
name
%>
</h2>
...
@@ -18,8 +29,9 @@
...
@@ -18,8 +29,9 @@
<li>
<%=
link_to
c
.
full_name
,
admin_candidate_path
(
c
.
id
)
%>
</li>
<li>
<%=
link_to
c
.
full_name
,
admin_candidate_path
(
c
.
id
)
%>
</li>
<%
end
%>
<%
end
%>
</ul>
</ul>
<br>
<%=
link_to
"Back to Positions"
,
admin_positions_path
%>
<%=
link_to
"
<
Back to Positions"
,
admin_positions_path
%>
</div>
</div>
</div>
</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