<div class="row justify-content-md-center">
	<div class="col-md-6">
		<div class="card">
			<div class="card-header">
				<h4>New Project</h4>
			</div>
			<div class="card-body">
				<?php echo form_open('Project_Controller/created_project'); ?>
				<div class="form-group">
					<label for="title">Title</label>
					<input type="text" name="title" class="form-control" id="title" placeholder="Enter title" required>
				</div>
				<div class="form-group">
					<label for="description">Description</label>
					<textarea name="description" class="form-control min-height" id="description"
							  placeholder="Description"
							  required></textarea>
				</div>
				<div class="form-group">
					<label for="objectives">Objectives</label>
					<textarea name="objectives" class="form-control min-height" id="objectives" placeholder="Objectives"
							  required></textarea>
				</div>
				<div class="form-group">
					<label for="protocol">Copy Planning </label>
					<select id="protocol"  name="protocol" class="form-control">
						<option value=""></option>
						<?php foreach ($projects as $p) { ?>
							<option value="<?= $p->get_id() ?>"><?= $p->get_title() ?></option>
						<?php } ?>
					</select>
				</div>
				<div class="alert alert-warning container-fluid alert-dismissible fade show" role="alert">
					<h5>Comments</h5>
					<p>For the creation of the project it is recommended that the user be
						a researcher and not a reviewer or other role, because once created, your administrator role
						cannot
						be changed or passed on.
					</p>
				</div>
				<button type="submit" class="btn btn-success">Create Project</button>
				</form>
			</div>
		</div>
	</div>
</div>
