
                                    <?php


                                    echo form_open('projets/save_proj_details/'.$mem_id.'/'.$mem_bd.'/'.$projet_id,'class="smart-form" id="form'.$key.'"');
                                    ?>


                                    <div class="row">
                                        <section class="col col-10">
                                            <label class="input">
                                                <?php
                                                $mem_champ='det_desc';
                                                echo form_label($label[$mem_champ]);
                                                ?>
                                            </label>
                                            <label class="input">
                                                <?php
                                                //echo  $icon[$mem_champ];
                                                echo form_input($input[$mem_champ]);
                                                ?>

                                            </label>
                                        </section>
                                     </div>
                                   <div class="row">

                                        <section class="col col-3">

                                            <?php
                                            $mem_champ='det_depart';


                                            ?>
                                            <label class="input">
                                                <?php

                                                echo form_label($label[$mem_champ]);

                                                ?>

                                            </label>
                                            <label class="input">
                                                <i class="icon-append fa fa-calendar"></i>
                                                <?php


                                                echo form_input($input[$mem_champ]);  ?>
                                            </label>



                                        </section>
                                       <section class="col col-3">
                                           <?php
                                           $mem_champ='det_retour';


                                           ?>
                                           <label class="input">
                                               <?php

                                               echo form_label($label[$mem_champ]);

                                               ?>

                                           </label>
                                           <label class="input">
                                               <i class="icon-append fa fa-calendar"></i>
                                               <?php


                                               echo form_input($input[$mem_champ]);  ?>
                                           </label>

                                       </section>
                                       <section class="col col-3">
                                           <label class="input">
                                               <?php
                                               $mem_champ='det_qte_nuit';
                                               echo form_label($label[$mem_champ]);
                                               ?>
                                           </label>
                                           <label class="input">
                                               <?php
                                               //echo  $icon[$mem_champ];
                                               echo form_input($input[$mem_champ]);
                                               ?>

                                           </label>
                                       </section>
                                    </div>
                                    <div class="row">

                                        <section class="col col-3">

                                            <label class="input">
                                                <?php
                                                $mem_champ='det_nb_chambre';
                                                echo form_label($label[$mem_champ]);
                                                ?>
                                            </label>
                                            <label class="input">
                                                <?php
                                                //echo  $icon[$mem_champ];
                                                echo form_input($input[$mem_champ]);
                                                ?>

                                            </label>


                                        </section>
                                        <section class="col col-9">
                                            <label class="input">
                                                <?php
                                                $mem_champ='det_type_chambre';
                                                echo form_label($label[$mem_champ]);
                                                ?>
                                            </label>
                                            <label class="input">
                                                <?php
                                                //echo  $icon[$mem_champ];
                                                echo form_input($input[$mem_champ]);
                                                ?>

                                            </label>
                                        </section>
                                    </div>
                                    <div class="row">

                                        <section class="col col-3">



                                        </section>
                                        <section class="col col-3">

                                        </section>
                                    </div>

                                        <section>
                                            <label class="textarea">
                                                <?php
                                                $mem_champ='det_notes';
                                                echo  $icon[$mem_champ];
                                                echo form_textarea($input[$mem_champ]);
                                                ?>
                                            </label>
                                        </section>

                                    <footer>
                                      <a onclick="btn_save(<?php echo($key);?>,<?php echo($mem_max);?>)" id="mod_btn_<?php echo($key);?>"   class="btn btn-primary">
                                            Modifier
                                      </a>
                                     <button style="display: none" id="submit_btn_<?php echo($key);?>" type="submit" class="btn btn-primary">
                                            Sauvegarde
                                     </button>


                                    </footer>
                                    <?php
                                    echo form_close();
                                    ?>
