<div class="career-page container">
    <div class="row">
        <div class="col-xs-12">

            <h2><?php echo $this->lang->line('Candidaturas'); ?></h2>


            <?php if (array_key_exists('success_message', $extraData) && $extraData['success_message'] != ''): ?>
                <div class="row mb25 success_message" style="display: block;">
                    <div class="col-lg-12 col-md-12 col-sm-12 alert alert-success">
    <?php echo $extraData['success_message']; ?>
                    </div>
                </div>
<?php endif; ?>
            <?php if (array_key_exists('error_message', $extraData) && $extraData['error_message'] != ''): ?>
                <div class="row mb25 success_message" style="display: block;">
                    <div class="col-lg-12 col-md-12 col-sm-12 alert alert-danger">
    <?php echo $extraData['error_message']; ?>
                    </div>
                </div>
<?php endif; ?>

            <?php echo form_open_multipart('recrutamento/submeter_candidatura', array('class' => 'job-form')) ?>
            <div class="row">
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Identificacao'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label><?php echo $this->lang->line('Nome-completo'); ?>*</label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('nome') ?>" name="nome" required=""/>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="morada"><?php echo $this->lang->line('Morada'); ?>*</label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('morada') ?>" name="morada" required=""/>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="cod-postal"><?php echo $this->lang->line('Codigo-postal'); ?>*</label>
                            </div>
                            <div class="col-sm-4 col-md-2 col-lg-2">
                                <input type="text" value="<?php echo set_value('cod-postal') ?>" name="cod-postal" required=""/>
                            </div>
                        </div>
                    </fieldset>
                </div>
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Contactos'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="residencia"><?php echo $this->lang->line('Residencia'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('residencia') ?>" name="residencia" />
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="emprego"><?php echo $this->lang->line('Emprego'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('emprego') ?>" name="emprego" />
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="telemovel"><?php echo $this->lang->line('Telemovel'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('telemovel') ?>" name="telemovel" />
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="email">E-mail*</label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('email') ?>" name="email" required=""/>
                            </div>
                        </div>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Dados-pessoais'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label><?php echo $this->lang->line('Data-de-nascimento'); ?>*</label>
                            </div>
                            <div class="col-sm-4 col-md-3 col-lg-3">
                                <div class="select-wrapper">
                                    <select name="data-nascimento-dia" class="custom-select" id="f1">
                                        <option><?php echo $this->lang->line('Dia'); ?></option>
                                        <option>1</option>
                                        <option>2</option>
                                        <option>3</option>
                                        <option>4</option>
                                        <option>5</option>
                                        <option>6</option>
                                        <option>7</option>
                                        <option>8</option>
                                        <option>9</option>
                                        <option>10</option>
                                        <option>11</option>
                                        <option>12</option>
                                        <option>13</option>
                                        <option>14</option>
                                        <option>15</option>
                                        <option>16</option>
                                        <option>17</option>
                                        <option>18</option>
                                        <option>19</option>
                                        <option>20</option>
                                        <option>21</option>
                                        <option>22</option>
                                        <option>23</option>
                                        <option>24</option>
                                        <option>25</option>
                                        <option>26</option>
                                        <option>27</option>
                                        <option>28</option>
                                        <option>29</option>
                                        <option>30</option>
                                        <option>31</option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-sm-4 col-md-3 col-lg-3">
                                <div class="select-wrapper">
                                    <select name="data-nascimento-mes" class="custom-select" id="f1">
                                        <option><?php echo $this->lang->line('Mes'); ?></option>
                                        <option><?php echo $this->lang->line('Janeiro'); ?></option>
                                        <option><?php echo $this->lang->line('Fevereiro'); ?></option>
                                        <option><?php echo $this->lang->line('Marco'); ?></option>
                                        <option><?php echo $this->lang->line('Abril'); ?></option>
                                        <option><?php echo $this->lang->line('Maio'); ?></option>
                                        <option><?php echo $this->lang->line('Junho'); ?></option>
                                        <option><?php echo $this->lang->line('Julho'); ?></option>
                                        <option><?php echo $this->lang->line('Agosto'); ?></option>
                                        <option><?php echo $this->lang->line('Setembro'); ?></option>
                                        <option><?php echo $this->lang->line('Outubro'); ?></option>
                                        <option><?php echo $this->lang->line('Novembro'); ?></option>
                                        <option><?php echo $this->lang->line('Dezembro'); ?></option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-sm-4 col-md-3 col-lg-3">
                                <div class="select-wrapper">
                                    <input placeholder="<?php echo $this->lang->line('Ano'); ?>" type="text" value="<?php echo set_value('data-nascimento-ano') ?>" name="data-nascimento-ano" />
                                </div>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="estado-civil"><?php echo $this->lang->line('Estado-civil'); ?></label>
                            </div>
                            <div class="col-md-5 col-lg-5">
                                <div class="select-wrapper">
                                    <select name="estado-civil" class="custom-select" id="f1">
                                        <option></option>
                                        <option><?php echo $this->lang->line('Solteiro'); ?></option>
                                        <option><?php echo $this->lang->line('Casado'); ?></option>
                                        <option><?php echo $this->lang->line('Divorciado'); ?></option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="nacionalidade"><?php echo $this->lang->line('Nacionalidade'); ?></label>
                            </div>
                            <div class="col-md-5 col-lg-5">
                                <input type="text" value="<?php echo set_value('nacionalidade') ?>" name="nacionalidade"/>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="situacao-militar"><?php echo $this->lang->line('Situacao-militar'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <div class="radios-wrapper">
                                    <div class="col-lg-4 col-md-4 col-sm-4">
                                        <input type="radio" name="situacao-militar" value="<?php echo $this->lang->line('Resolvida'); ?>"><label class="label_radio"><?php echo $this->lang->line('Resolvida'); ?></label>
                                    </div>
                                    <div class="col-lg-6 col-md-6 col-sm-6">
                                        <input type="radio" name="situacao-militar" value="<?php echo $this->lang->line('Por-resolver'); ?>"><label class="label_radio"><?php echo $this->lang->line('Por-resolver'); ?></label>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </fieldset>
                </div>
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Habilitacoes-literarias'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="nivel-de-estudos"><?php echo $this->lang->line('Nivel-de-estudos'); ?></label>
                            </div>
                            <div class="col-md-5 col-lg-5">
                                <input type="text" value="<?php echo set_value('nivel-de-estudos') ?>" name="nivel-de-estudos" />
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="grau-academico"><?php echo $this->lang->line('Grau-academico'); ?></label>
                            </div>
                            <div class="col-md-5 col-lg-5">
                                <input type="text" value="<?php echo set_value('grau-academico') ?>" name="grau-academico" />
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="instituicao"><?php echo $this->lang->line('Instituicao'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('instituicao') ?>" name="instituicao" />
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="curso"><?php echo $this->lang->line('Curso'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('curso') ?>" name="curso" />
                            </div>
                        </div>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Formacao-profissional-complementar'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="designacao-do-curso"><?php echo $this->lang->line('Designacao-do-curso'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('designacao-do-curso') ?>" name="designacao-do-curso" />
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="duracao-data-conclusao"><?php echo $this->lang->line('Duracao-data-conclusao'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('duracao-data-conclusao') ?>" name="duracao-data-conclusao"/>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="entidade-formadora"><?php echo $this->lang->line('Entidade-formadora'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('entidade-formadora') ?>" name="entidade-formadora"/>
                            </div>
                        </div>
                    </fieldset>
                </div>
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Outros-conhecimentos'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="lingua-estrangeira"><?php echo $this->lang->line('Lingua-estrangeira'); ?></label>
                            </div>
                            <div class="col-md-5 col-lg-5">
                                <input type="text" value="<?php echo set_value('lingua-estrangeira') ?>" name="lingua-estrangeira" />
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="leitura"><?php echo $this->lang->line('Leitura'); ?></label>
                            </div>
                            <div class="col-md-5 col-lg-5">
                                <div class="select-wrapper">
                                    <select name="leitura" class="custom-select" id="f1">
                                        <option></option>
                                        <option><?php echo $this->lang->line('Fraco'); ?></option>
                                        <option><?php echo $this->lang->line('Medio'); ?></option>
                                        <option><?php echo $this->lang->line('Bom'); ?></option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="escrita"><?php echo $this->lang->line('Escrita'); ?></label>
                            </div>
                            <div class="col-md-5 col-lg-5">
                                <div class="select-wrapper">
                                    <select class="custom-select" name="escrita" id="f1">
                                        <option></option>
                                        <option><?php echo $this->lang->line('Fraco'); ?></option>
                                        <option><?php echo $this->lang->line('Medio'); ?></option>
                                        <option><?php echo $this->lang->line('Bom'); ?></option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="conversacao"><?php echo $this->lang->line('Conversacao'); ?></label>
                            </div>
                            <div class="col-md-5 col-lg-5">
                                <div class="select-wrapper">
                                    <select class="custom-select" name="conversacao" id="f1">
                                        <option></option>
                                        <option><?php echo $this->lang->line('Fraco'); ?></option>
                                        <option><?php echo $this->lang->line('Medio'); ?></option>
                                        <option><?php echo $this->lang->line('Bom'); ?></option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Experiencia-profissional'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="empresa"><?php echo $this->lang->line('Empresa'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('empresa') ?>" name="empresa"/>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="funcao"><?php echo $this->lang->line('Funcao'); ?></label>
                            </div>
                            <div class="col-md-9 col-lg-9">
                                <input type="text" value="<?php echo set_value('funcao') ?>" name="funcao"/>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="duracao"><?php echo $this->lang->line('Duracao'); ?></label>
                            </div>
                            <div class="col-sm-6 col-md-3 col-lg-3">
                                <div class="select-wrapper">
                                    <label><?php echo $this->lang->line('De'); ?></label>
                                </div>
                            </div>
                            <div class="col-sm-6 col-md-3 col-lg-3">
                                <div class="select-wrapper">
                                    <select name="experiencia-prof-de-mes" class="custom-select" id="f1">
                                        <option><?php echo $this->lang->line('Mes'); ?></option>
                                        <option><?php echo $this->lang->line('Janeiro'); ?></option>
                                        <option><?php echo $this->lang->line('Fevereiro'); ?></option>
                                        <option><?php echo $this->lang->line('Marco'); ?></option>
                                        <option><?php echo $this->lang->line('Abril'); ?></option>
                                        <option><?php echo $this->lang->line('Maio'); ?></option>
                                        <option><?php echo $this->lang->line('Junho'); ?></option>
                                        <option><?php echo $this->lang->line('Julho'); ?></option>
                                        <option><?php echo $this->lang->line('Agosto'); ?></option>
                                        <option><?php echo $this->lang->line('Setembro'); ?></option>
                                        <option><?php echo $this->lang->line('Outubro'); ?></option>
                                        <option><?php echo $this->lang->line('Novembro'); ?></option>
                                        <option><?php echo $this->lang->line('Dezembro'); ?></option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-md-3 col-lg-3">
                                <input placeholder="<?php echo $this->lang->line('Ano'); ?>" type="text" value="<?php echo set_value('experiencia-prof-de-ano') ?>" name="experiencia-prof-de-ano"/>
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                            </div>
                            <div class="col-sm-6 col-md-3 col-lg-3">
                                <label><?php echo $this->lang->line('Ate'); ?></label>
                            </div>
                            <div class="col-sm-6 col-md-3 col-lg-3">
                                <div class="select-wrapper">
                                    <select name="experiencia-prof-ate-mes" class="custom-select" id="f1">
                                        <option><?php echo $this->lang->line('Mes'); ?></option>
                                        <option><?php echo $this->lang->line('Janeiro'); ?></option>
                                        <option><?php echo $this->lang->line('Fevereiro'); ?></option>
                                        <option><?php echo $this->lang->line('Marco'); ?></option>
                                        <option><?php echo $this->lang->line('Abril'); ?></option>
                                        <option><?php echo $this->lang->line('Maio'); ?></option>
                                        <option><?php echo $this->lang->line('Junho'); ?></option>
                                        <option><?php echo $this->lang->line('Julho'); ?></option>
                                        <option><?php echo $this->lang->line('Agosto'); ?></option>
                                        <option><?php echo $this->lang->line('Setembro'); ?></option>
                                        <option><?php echo $this->lang->line('Outubro'); ?></option>
                                        <option><?php echo $this->lang->line('Novembro'); ?></option>
                                        <option><?php echo $this->lang->line('Dezembro'); ?></option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-md-3 col-lg-3">
                                <input placeholder="<?php echo $this->lang->line('Ano'); ?>" type="text" value="<?php echo set_value('experiencia-prof-ate-ano') ?>" name="experiencia-prof-ate-ano"/>
                            </div>
                        </div>
                    </fieldset>
                </div>
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Informatica'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="optica-do-utilizador"><?php echo $this->lang->line('Optica-do-utilizador'); ?></label>
                            </div>
                            <div class="col-md-5 col-lg-5">
                                <input type="text" value="<?php echo set_value('optica-do-utilizador') ?>" name="optica-do-utilizador" />
                            </div>
                        </div>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label for="optica-do-programador"><?php echo $this->lang->line('Optica-do-programador'); ?></label>
                            </div>
                            <div class="col-md-5 col-lg-5">
                                <input type="text" value="<?php echo set_value('optica-do-programador') ?>" name="optica-do-programador" />
                            </div>
                        </div>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Funcao'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-12 col-lg-12">
                                <input type="text" value="<?php echo set_value('funcao') ?>" name="funcao"/>
                            </div>
                        </div>
                    </fieldset>
                </div>
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Disponibilidade'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-3 col-lg-3">
                                <label><?php echo $this->lang->line('Inicio'); ?></label>
                            </div>
                            <div class="col-sm-4 col-md-3 col-lg-3">
                                <div class="select-wrapper">
                                    <select class="custom-select" name="disponibilidade-dia" id="f1">
                                        <option><?php echo $this->lang->line('Dia'); ?></option>
                                        <option>1</option>
                                        <option>2</option>
                                        <option>3</option>
                                        <option>4</option>
                                        <option>5</option>
                                        <option>6</option>
                                        <option>7</option>
                                        <option>8</option>
                                        <option>9</option>
                                        <option>10</option>
                                        <option>11</option>
                                        <option>12</option>
                                        <option>13</option>
                                        <option>14</option>
                                        <option>15</option>
                                        <option>16</option>
                                        <option>17</option>
                                        <option>18</option>
                                        <option>19</option>
                                        <option>20</option>
                                        <option>21</option>
                                        <option>22</option>
                                        <option>23</option>
                                        <option>24</option>
                                        <option>25</option>
                                        <option>26</option>
                                        <option>27</option>
                                        <option>28</option>
                                        <option>29</option>
                                        <option>30</option>
                                        <option>31</option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-sm-4 col-md-3 col-lg-3">
                                <div class="select-wrapper">
                                    <select class="custom-select" name="disponibilidade-mes" id="f1">
                                        <option><?php echo $this->lang->line('Mes'); ?></option>
                                        <option><?php echo $this->lang->line('Janeiro'); ?></option>
                                        <option><?php echo $this->lang->line('Fevereiro'); ?></option>
                                        <option><?php echo $this->lang->line('Marco'); ?></option>
                                        <option><?php echo $this->lang->line('Abril'); ?></option>
                                        <option><?php echo $this->lang->line('Maio'); ?></option>
                                        <option><?php echo $this->lang->line('Junho'); ?></option>
                                        <option><?php echo $this->lang->line('Julho'); ?></option>
                                        <option><?php echo $this->lang->line('Agosto'); ?></option>
                                        <option><?php echo $this->lang->line('Setembro'); ?></option>
                                        <option><?php echo $this->lang->line('Outubro'); ?></option>
                                        <option><?php echo $this->lang->line('Novembro'); ?></option>
                                        <option><?php echo $this->lang->line('Dezembro'); ?></option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-sm-4 col-md-3 col-lg-3">
                                <div class="select-wrapper">
                                    <input placeholder="<?php echo $this->lang->line('Ano'); ?>" type="text" value="<?php echo set_value('disponibilidade-ano') ?>" name="disponibilidade-ano" />
                                </div>
                            </div>
                        </div>
                    </fieldset>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Anexar-curriculum'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-12 col-lg-12">
                                <div class="upload_file">
                                    <input id="userfile" type="file" name="userfile"/>
                                </div>
                            </div>
                        </div>
                    </fieldset>
                </div>
                <div class="col-md-6 col-lg-6">
                    <fieldset>
                        <legend><?php echo $this->lang->line('Observacoes'); ?></legend>
                        <div class="row field-wrapper">
                            <div class="col-md-12 col-lg-12">
                                <textarea name="observacoes"><?php echo set_value('observacoes') ?></textarea>
                            </div>
                        </div>
                    </fieldset>
                </div>
            </div>
            <div class="actions">
                <input type="submit" class="form-submit" value="<?php echo $this->lang->line('Enviar'); ?>" />
                <p>* <?php echo $this->lang->line('Campos-preenchimento-obrigatorio'); ?></p>
            </div>
            </form>

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