Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
Add form container
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanGraham committed Oct 8, 2015
1 parent 4348f9e commit f40cbad
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions resources/views/runs/edit.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@extends('app')
@section('content')
@include('partials.navbar')
<h1>Edit run</h1>
<div class="table-container">
<table class="table table-striped">
<thead>
<tr>
<th>Run id</th>
<th>Experiment name</th>
<th>Read 1</th>
<th>Read 2</th>
Expand All @@ -26,8 +26,6 @@
</thead>

<tr>
<td>{{ $run->id }}</td>

<td>{{ $run->experiment_name}}</td>
<td>{{ $run->read1}}</td>
<td>{{ $run->read2}}</td>
Expand All @@ -50,13 +48,14 @@
</div>
@if ($currentUserSuper)
{!! Form::open(['url'=>'runs/setStatus', 'class'=>'form-inline']) !!}
<div class="form-container">
{!! Form::hidden('run_id',$run->id) !!}
{!! Form::label('run_status', 'run_status', ['class'=>'sr-only']) !!}
{!! Form::label('run_status', 'Run status') !!}
{!! Form::select('run_status', $status_options, null, ['class'=>'form-control']) !!}

{!! Form::submit("Set status", ['class'=>'btn btn-primary']) !!}
{!! Form::close() !!}

</div>
<br><br>

<p>Where run status is either 'Run built' or 'Run succeed' and it is set to 'Run failed' all included samples will have runs remaining incremented by 1 </p>
Expand Down

0 comments on commit f40cbad

Please sign in to comment.