Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MIS21MidtermsParkingLot
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
Dean Krisitan Bardeloza
MIS21MidtermsParkingLot
Commits
706635f2
Commit
706635f2
authored
Jul 06, 2016
by
Bianca Tarun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited /pages/index.html.erb
parent
47c07067
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
car_logs_controller.rb
parkinglot/app/controllers/car_logs_controller.rb
+2
-2
add.html.erb
parkinglot/app/views/car_logs/add.html.erb
+8
-8
index.html.erb
parkinglot/app/views/car_logs/index.html.erb
+1
-1
index.html.erb
parkinglot/app/views/pages/index.html.erb
+1
-1
No files found.
parkinglot/app/controllers/car_logs_controller.rb
View file @
706635f2
class
CarLogsController
<
ApplicationController
def
index
@car_logs
=
Car
l
og
.
all
render
"/car_log/index.html.erb"
@car_logs
=
Car
L
og
.
all
render
"/car_log
s
/index.html.erb"
end
def
add
...
...
parkinglot/app/views/car
log
/add.html.erb
→
parkinglot/app/views/car
_logs
/add.html.erb
View file @
706635f2
...
...
@@ -11,14 +11,14 @@
<hr>
<label>
Color:
</label>
<select
name=
"color"
>
<option
value =
"
r
ed"
>
Red
</option>
<option
value =
"
w
hite"
>
White
</option>
<option
value =
"
b
lue"
>
Blue
</option>
<option
value =
"
g
reen"
>
Green
</option>
<option
value =
"
o
range"
>
Orange
</option>
<option
value =
"
p
ink"
>
Pink
</option>
<option
value =
"
b
lack"
>
Black
</option>
<option
value =
"
o
thers"
>
Others
</option>
<option
value =
"
R
ed"
>
Red
</option>
<option
value =
"
W
hite"
>
White
</option>
<option
value =
"
B
lue"
>
Blue
</option>
<option
value =
"
G
reen"
>
Green
</option>
<option
value =
"
O
range"
>
Orange
</option>
<option
value =
"
P
ink"
>
Pink
</option>
<option
value =
"
B
lack"
>
Black
</option>
<option
value =
"
O
thers"
>
Others
</option>
</select>
<hr>
<label>
Brand:
</label>
...
...
parkinglot/app/views/car
log
/index.html.erb
→
parkinglot/app/views/car
_logs
/index.html.erb
View file @
706635f2
...
...
@@ -45,6 +45,6 @@
</tbody>
</table>
<hr>
<a
href=
"/car_logs/add"
>
Add New
Sport
</a>
<a
href=
"/car_logs/add"
>
Add New
Car
</a>
<hr>
<a
href=
"/"
>
Go back to Homepage
</a>
\ No newline at end of file
parkinglot/app/views/pages/index.html.erb
View file @
706635f2
<h1>
Moshi Moshi Parking
</h1>
<a
href=
"/car_log"
>
Check out your Cars!
</a>
\ No newline at end of file
<a
href=
"/car_logs"
>
Check out your Cars!
</a>
\ 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