<?php
echo form_open('tasks/add_profession/' . $id);
?>

<div class="col-sm-8 col-sm-offset-2">
    <div class="form-group row">
        <label for="profession_id" class="col-sm-2 col-form-label">Dodaj stanowisko</label>
        <div class="col-sm-6">
            <?php echo form_dropdown($profession_id, $profession_array, $profession_select); ?>    
        </div>    
        <div class="col-sm-2">
            <?php echo form_input($number_of_students); ?>    
        </div>                
        <div class="col-sm-2">
            <?php echo form_submit('', 'dodaj', array('class' => 'form-control btn btn-primary')); ?>    
        </div>                        
    </div>    
</div>
<?php
echo form_close();
