mentors

mentors Commit Details


Date:2014-06-04 00:27:11 (10 years 6 months ago)
Author:Right Or Wrong
Branch:develop, master
Commit:756f3bf3fc6986ccde18f518141e95ee3a1adf5a
Parents: 8282d61e7f62d90991c969b9dad310bd9af841c6
Message:modified a few things

Changes:

File differences

app/views/mentors/create.blade.php
11
22
33
4
4
55
66
77
......
1717
1818
1919
20
20
2121
2222
2323
<!DOCTYPE html>
<html>
<head>
<title>Look! I'm CRUDding</title>
<title>Welcome To Mentconnect</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
</head>
<body>
</ul>
</nav>
<h1>Create a Nerd</h1>
<h1>Create a Mentor</h1>
<!-- if there are creation errors, they will show here -->
{{ HTML::ul($errors->all()) }}
app/views/mentors/edit.blade.php
22
33
44
5
5
66
77
88
<!DOCTYPE html>
<html>
<head>
<title>Look! I'm CRUDding</title>
<title>Welcome To Mentconnect</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
</head>
<body>
app/views/mentors/index.blade.php
11
22
33
4
4
55
66
77
......
4444
4545
4646
47
48
49
50
5147
5248
5349
5450
5551
56
5752
5853
59
6054
6155
6256
<!DOCTYPE html>
<html>
<head>
<title>Look! I'm CRUDding</title>
<title>Welcome To Mentconnect</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
</head>
<body>
<!-- we will also add show, edit, and delete buttons -->
<td>
<!-- delete the nerd (uses the destroy method DESTROY /nerds/{id} -->
<!-- we will add this later since its a little more complicated than the other two buttons -->
{{ Form::open(array('url' => 'mentors/' . $value->id, 'class' => 'pull-right')) }}
{{ Form::hidden('method', 'DELETE') }}
{{ Form::submit('Delete this Mentor', array('class' => 'btn btn-warning')) }}
{{ Form::close() }}
<!-- show the nerd (uses the show method found at GET /nerds/{id} -->
<a class="btn btn-small btn-success" href="{{ URL::to('mentors/' . $value->id) }}">Show this mentor</a>
<!-- edit this nerd (uses the edit method found at GET /nerds/{id}/edit -->
<a class="btn btn-small btn-info" href="{{ URL::to('mentors/' . $value->id . '/edit') }}">Edit this mentor</a>
</td>
app/views/mentors/show.blade.php
33
44
55
6
6
77
88
99
<!DOCTYPE html>
<html>
<head>
<title>Look! I'm CRUDding</title>
<title>Welcome To Mentconnect</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
</head>
<body>

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.06548s using 13 queries.