<div class="container" style="max-width: 80%;">
    <form action="{{URL::to('/')}}/experiment/browse" method="post" class="form-inline" role="form">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3>Search for Experiments</h3>
            </div>
            <div class="panel-body">
                <div class="form-group">
                    <label for="search-key">Search by</label>
                    <select class="form-control" name="search-key" id="search-key">
                        <?php 
// set up options for select input
$values = array('experiment-name', 'experiment-description', 'application', 'creation-time');
$labels = array('Experiment Name', 'Experiment Description', 'Application', 'Creation Time');
$disabled = array('', '', '', '');
ExperimentUtilities::create_options($values, $labels, $disabled);
?>
                    </select>
                </div>

                <div class="form-group search-text-block">
                    <label for="search-value">for</label>
                    <input type="search" class="form-control" name="search-value" id="search-value" placeholder="value"
                           value="<?php 
if (isset($_POST['search-value'])) {
    echo $_POST['search-value'];
}
?>
">
                </div>