mentors

mentors Git Source Tree


Root/app/views/projects/edit.blade.php

<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Editing - {{ $project->title }}</title>
	{{HTML::style('css/mentconnect.css')}}
	{{HTML::style('css/denied.css')}}
	<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css">
</head>
<body>
	<header id="cta" class="background-showcase">
		<div id="nv" class="navbar">
			<div class="container">
				<a class="navbar-brand" href="/">
					<div class="asset logo-white-header">
						{{ HTML::image("images/mentconnect.png", "editor", array("width" => "130px", "height" => "44px")) }}
					</div>
				</a>
				<ul class=" nav navbar-nav pull-right">
					<li class>
						{{HTML::link('projects', 'Projects') }}
					</li>
					<li class>
						{{HTML::link('projects/create', 'Add Projects') }}
					</li>
					<li class="button">
						{{HTML::link('logout', 'Logout') }}
					</li>
				</ul>
			</div>
		</div>
	</header>

	<div id="signup-content">
		{{ Form::model($project, array('route' => array('projects.update', $project->id), 'method' => 'PUT', 'class' => 'form-horizontal')) }}
		
		<div class="container padded">
			<div class="container">
				<legend><h2>Editing - {{ $project->title }} </h2></legend>
			</div>
		
			<div class="row">
				<div class="col-lg-2">
          			
        		</div>

				<div class="col-lg-8">
		
	          			<div class="form-group">
				            <label for="first">Project Name</label>
				            {{Form::text('title', $project->title, array('class' => 'form-control form-control-bordered', 'tabindex' => '1'))}} <span class="pull-right">{{$errors->first('title')}}</span>
				        </div>
	          			<div class="form-group">
	            
	            			<label for="last">Project Url</label>
	            			{{ Form::text('link', $project->link, array('class' => 'form-control form-control-bordered', 'tabindex' => '2')) }} <span class="pull-right"> {{$errors->first('link')}}</span>
	          			</div>
	          			<div class="form-group">
	            
	            			<label for="language">Project Language</label>
	            			{{ Form::text('language', $project->language, array('class' => 'form-control form-control-bordered', 
	            			'tabindex' => '3')) }}<span class="pull-right"> {{$errors->first('language') }}</span>
	          			</div>
	          			
	          			<div class="row" id="signup-bottom-row">
			                {{Form::submit('Update Project',  array('class' => 'btn btn-success btn-large submit-button'))}}
			                {{HTML::link('projects', 'Cancel Editing', array('class' => 'btn btn-success btn-large pull-right'))}} 
            			</div>
        		</div>
			</div>

			<div class="col-lg-2">
          			
        	</div>	
		</div>
		{{ Form::close() }}

	</div>

	<div id="footer">
		<div id="sub-footer">
			<div class="container">
				<div class="row">
					<div class="col-lg-4">
						<p id="copyright-section">
							Copyright © 2014. Mentconnect Inc. All Rights Reserved.
						</p>
					</div>

					<div class="col-lg-4">
						
					</div>

					<div class="col-lg-4">
						<p id="love">
							Built With Laravel + Bootstrap Frameworks by Elisha Chirchir.
						</p>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>

Archive Download this file

Branches

Number of commits:
Page rendered in 0.12190s using 11 queries.