Commit f769b724d2cbdadf16f555b84d54239051edc81e

Authored by Lucas Schmoeller da Silva
1 parent 69bf162d

#17 Corrigindo texto genérico do campo Turma

ieducar/intranet/educar_matricula_cad.php
... ... @@ -159,7 +159,7 @@ class indice extends clsCadastro
159 159 $anoLetivoHelperOptions = array('situacoes' => array('em_andamento', 'nao_iniciado'));
160 160  
161 161 $this->inputsHelper()->dynamic(array('instituicao', 'escola', 'curso', 'serie'));
162   - $this->inputsHelper()->dynamic('turma', array('required' => false, 'option value' => 'Enturmar depois'));
  162 + $this->inputsHelper()->dynamic('turma', array('required' => false, 'option value' => 'Selecione uma turma'));
163 163 $this->inputsHelper()->dynamic('anoLetivo', array('label' => 'Ano destino'), $anoLetivoHelperOptions);
164 164  
165 165  
... ...
ieducar/lib/Portabilis/View/Helper/DynamicInput/Turma.php
... ... @@ -80,7 +80,7 @@ class Portabilis_View_Helper_DynamicInput_Turma extends Portabilis_View_Helper_D
80 80 }
81 81 }
82 82  
83   - return $this->insertOption(null, "Enturmar depois", $resources);
  83 + return $this->insertOption(null, "Selecione uma turma", $resources);
84 84 }
85 85  
86 86 protected function turmasPorAno($escolaId, $ano) {
... ...
ieducar/modules/DynamicInput/Assets/Javascripts/Turma.js
... ... @@ -11,7 +11,7 @@
11 11  
12 12 var handleGetTurmas = function(response) {
13 13 var selectOptions = jsonResourcesToSelectOptions(response['options']);
14   - updateSelect($turmaField, selectOptions, "Enturmar depois");
  14 + updateSelect($turmaField, selectOptions, "Selecione uma turma");
15 15 }
16 16  
17 17 var updateTurmas = function(){
... ...