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
dab58dbf
Commit
dab58dbf
authored
Jul 20, 2016
by
Galen Evilla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
last tweak?
parent
16a41cf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
show.html.erb
Halalan-FINAL/app/views/admin/candidates/show.html.erb
+1
-1
show.html.erb
Halalan-FINAL/app/views/admin/positions/show.html.erb
+1
-1
No files found.
Halalan-FINAL/app/views/admin/candidates/show.html.erb
View file @
dab58dbf
...
...
@@ -21,7 +21,7 @@
<%=
link_to
"Edit"
,
edit_admin_candidate_path
(
@candidate
.
id
)
%>
</div>
<div
class=
"btn btn-info"
role =
"button"
>
<%=
link_to
"Delete"
,
admin_candidate_path
(
@candidate
.
id
),
method: :delete
%>
<%=
link_to
"Delete"
,
admin_candidate_path
(
@candidate
.
id
),
method: :delete
,
data:
{
confirm:
'Are you sure?'
}
%>
</div>
<h2>
<%=
@candidate
.
position
.
name
%>
</h2>
...
...
Halalan-FINAL/app/views/admin/positions/show.html.erb
View file @
dab58dbf
...
...
@@ -21,7 +21,7 @@
<%=
link_to
"Edit"
,
edit_admin_position_path
(
@position
.
id
)
%>
</div>
<div
class=
"btn btn-info"
role =
"button"
>
<%=
link_to
"Delete"
,
admin_position_path
(
@position
.
id
),
method: :delete
%>
<%=
link_to
"Delete"
,
admin_position_path
(
@position
.
id
),
method: :delete
,
data:
{
confirm:
'Are you sure?'
}
%>
</div>
<hr>
<h2>
Candidates for
<%=
@position
.
name
%>
</h2>
...
...
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