Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
parkinglot
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
parkinglot
Commits
261c0f48
Commit
261c0f48
authored
Jul 05, 2016
by
Galen Evilla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting
parent
5f5e42da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
26 deletions
+1
-26
index.html.erb
draft3/app/views/car_logs/index.html.erb
+1
-26
No files found.
draft3/app/views/car_logs/index.html.erb
View file @
261c0f48
...
@@ -10,35 +10,9 @@
...
@@ -10,35 +10,9 @@
<input
type=
"text"
name=
"q"
>
<input
type=
"text"
name=
"q"
>
<input
type=
"submit"
value=
"Search"
>
<input
type=
"submit"
value=
"Search"
>
<
<<<<<<
HEAD
<%
end
%>
<%
end
%>
<hr>
<hr>
=======
<table
border=
"1"
>
<tr>
<th>
ID
</th>
<th>
Plate Number
</th>
<th>
Time In
</th>
<th>
Time Out
</th>
<th>
Color
</th>
<th>
Brand
</th>
<th>
</th>
</tr>
<%
@records
.
each
do
|
record
|
%>
<tr>
<td>
<%=
record
.
id
%>
</td>
<td>
<%=
record
.
plate_number
%>
</td>
<td>
<%=
record
.
time_in
%>
</td>
<td>
<%=
record
.
time_out
%>
</td>
<td>
<%=
record
.
color
%>
</td>
<td>
<%=
record
.
brand
%>
</td>
<td><a
href=
"car_logs/delete/
<%=
record
.
id
%>
"
>
Delete
</a></td>
</tr>
<%
end
%>
</table>
>>>>>>> f29f6e6f3bad719145aa72a906ddf1f42183c4fe
<table
class=
"table table-striped table-bordered"
>
<table
class=
"table table-striped table-bordered"
>
<thead>
<thead>
...
@@ -62,6 +36,7 @@
...
@@ -62,6 +36,7 @@
<td>
<%=
record
.
brand
%>
</td>
<td>
<%=
record
.
brand
%>
</td>
<td>
<%=
record
.
time_in
%>
</td>
<td>
<%=
record
.
time_in
%>
</td>
<td>
<%=
record
.
time_out
%>
</td>
<td>
<%=
record
.
time_out
%>
</td>
<td><a
class=
"btn btn-danger"
href=
"car_logs/delete/
<%=
record
.
id
%>
"
role =
"button"
>
Delete
</a></td>
</tr>
</tr>
<%
end
%>
<%
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