<div class="nav-tabs-custom">
	<ul class="nav nav-tabs">
		<li class="dropdown pull-right">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#">
				<i class="fa fa-cog"></i> <span class="caret"></span>
			</a>
			<ul class="dropdown-menu dropdown-menu-right">
				<li role="presentation"><a role="menuitem" tabindex="-1" href="<?php echo base_url('Projects/edit/' . $project->id); ?>">Edit Project</a></li> 
				<li role="presentation" class="divider"></li>
				<li role="presentation"><a role="menuitem" tabindex="-1" href="<?php echo base_url('Projects/destroy/' . $project->id); ?>" onclick="return confirm('Are you sure?');">Delete Project</a></li> 	
			</ul>
		</li>

		<li class="header"><?php echo $project->name; ?></li>
	</ul>
	
	<ul class="nav nav-tabs">
		<li class="active"><a href="#tab1" data-toggle="tab">Project Details</a></li>
		<li><a href="#tab2" data-toggle="tab">Releases</a></li>
		<li><a href="#tab3" data-toggle="tab">Sprints</a></li>
		<li><a href="#tab4" data-toggle="tab">Issues</a></li>
		<li><a href="#tab5" data-toggle="tab">Team</a></li>
	</ul>
	
	<div class="tab-content">
		<div class="tab-pane active" id="tab1">
			<?php $this->load->view('projects/_project'); ?>
		</div><!-- /.tab-pane -->
		
		<div class="tab-pane" id="tab2">
			<?php $this->load->view('projects/_releases'); ?>
		</div><!-- /.tab-pane -->
		
		<div class="tab-pane" id="tab3">
			<?php $this->load->view('projects/_sprints'); ?>
		</div><!-- /.tab-pane -->
		
		<div class="tab-pane" id="tab4">
			<?php $this->load->view('shared/_issues'); ?>
		</div><!-- /.tab-pane -->
		
		<div class="tab-pane" id="tab5">
			<?php $this->load->view('projects/_team'); ?>
		</div><!-- /.tab-pane -->
	</div><!-- /.tab-content -->
</div><!-- nav-tabs-custom -->
