
<div class="tlo-default">
<div class="container-fluid"> 
    <h1 class="section-title dash-left"><?php echo $this->company; ?></h1>
</div>

<div class="container">
    <div class="col-xs-12 col-sm-12 col-md-9 offset-md-3 col-lg-9 offset-lg-3 ramka">
            <div class="row margtop20">
                <h2 class="karta_tytul">Stanowiska firmy <strong><?php echo $this->company; ?></strong></h2>
            </div>
            <hr />
            <div class="row margtop20">
                <div class="col-sm-10 text-left nowe_label">
                    Nowe <span>stanowisko</span>
                </div>
                <div class="col-sm-2 text-right nowe_label">
                    <a href="<?php echo base_url('professions/add_profession/'.$company_id); ?>"><div class="submitZielony">Dodaj</div></a>
                </div>    
            </div>
            <hr />
            <div class="table-responsive">
                <table class="listing">
                    <tbody>
                        <?php foreach ($stanowiska as $data): ?>
                            <tr>    
                                <td class="col-sm-9 table_labels">        
                                    <a href="<?php echo base_url('professions/edit_profession/' . $data['id']); ?>"><div class="table_labels"><?php echo $data['profession_name']; ?></div></a>
                                </td>                            
                                <td class="col-sm-1 text-right table_edit_icon">        
                                    <?php echo anchor(base_url('professions/edit_profession/' . $data['id']), '<img src="' . base_url('assets/img/ikony/edit.jpg') . '">'); ?>
                                </td>     
                                <td class="col-sm-1 text-right">
                                    <?php echo anchor(base_url('professions/delete_profession/' . $data['id']), '<img src="' . base_url('assets/img/ikony/trash.jpg') . '">'); ?>
                                </td>         
                            </tr>            
                        <?php endforeach; ?>
                    </tbody>            
                </table>
            </div> 
                <hr />    
            <div class="row margtop20">
                <?php echo $pagination; ?>
            </div>

    </div>
</div>
</div>

