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
db39e6e5
Commit
db39e6e5
authored
Jul 18, 2016
by
royce-matthew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added design changes
parent
85bae03b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
skeleton.css
app/assets/stylesheets/skeleton.css
+3
-1
_form.html.erb
app/views/admin/candidates/_form.html.erb
+0
-1
index.html.erb
app/views/admin/positions/index.html.erb
+1
-1
new.html.erb
app/views/admin/positions/new.html.erb
+1
-1
No files found.
app/assets/stylesheets/skeleton.css
View file @
db39e6e5
...
...
@@ -158,7 +158,9 @@ p {
/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a
{
color
:
#1EAEDB
;
}
color
:
rgba
(
0
,
30
,
50
,
0.8
)
;
font-size
:
17px
;
text-decoration
:
none
;
}
a
:hover
{
color
:
#0FA0CE
;
}
...
...
app/views/admin/candidates/_form.html.erb
View file @
db39e6e5
<%=
simple_form_for
([
:admin
,
@candidate
])
do
|
f
|
%>
I wanna vote for
<%=
f
.
association
:position
,
label_method: :name
,
value_method: :id
%>
<%=
f
.
input
:first_name
%>
<%=
f
.
input
:last_name
%>
...
...
app/views/admin/positions/index.html.erb
View file @
db39e6e5
<h4>
Positions from the Vote-a-Sutra
</h4>
<%=
link_to
"+
n
ew Position"
,
new_admin_position_path
%>
<%=
link_to
"+
N
ew Position"
,
new_admin_position_path
%>
<div
class=
"container"
>
<%
@positions
.
each
do
|
p
|
%>
<div
style=
""
>
...
...
app/views/admin/positions/new.html.erb
View file @
db39e6e5
<h1>
New
Candidate
</h1>
<h1>
New
Position
</h1>
<%=
render
partial:
"form"
%>
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