<data-ng-form name="qController.innerForm"><fieldset name="fields" class="col-md-12" data-ng-disabled="qController.myQuestionario.Readonly"><div data-ng-repeat="item in qController.myQuestionario.Seccoes"><h4>{{ item.Nome }}</h4><div class="panel-body my-panel-body"><div class="form-group my-form-group" data-ng-repeat="pergunta in item.Perguntas"><label style="color:black;" data-ng-show="pergunta.Pergunta != ''" data-ng-bind-html="pergunta.Pergunta"></label><span data-ng-show="pergunta.Obrigatoria">*</span><div on="pergunta.TipoResposta" data-ng-switch><div data-ng-switch-when="2"><div class="form-control my-form-control" data-ng-class="{'ng-invalid ng-invalid-required':qController.requiredCheck(pergunta)}"><div class="col-md-3" data-ng-repeat="r in pergunta.OpcoesResposta"><label style="cursor:pointer;font-style:normal;font-weight:normal;"><input type="radio" name="{{ pergunta.ID }}" data-ng-checked="qController.respostaChecked(r,pergunta)" data-ng-click="qController.setResposta(pergunta)" data-ng-required="qController.requiredCheck(pergunta)"> &nbsp;&nbsp;{{ r.Valor }}</label></div></div></div><div data-ng-switch-when="3"><div class="form-control my-form-control" data-ng-class="{'ng-invalid ng-invalid-required':qController.requiredCheck(pergunta)}"><div class="col-md-3" data-ng-repeat="r in pergunta.OpcoesResposta"><label style="cursor:pointer;font-style:normal;font-weight:normal;"><input type="radio" value="{{ r.ID }}" name="{{ pergunta.ID }}" data-ng-checked="qController.respostaChecked(r,pergunta)" data-ng-click="qController.setResposta(pergunta)" data-ng-required="qController.requiredCheck(pergunta)"> &nbsp;&nbsp;{{ r.Valor }}</label></div></div></div><div data-ng-switch-when="4"><div class="form-control my-form-control" data-ng-class="{'ng-invalid ng-invalid-required':qController.requiredCheck(pergunta)}"><div class="col-md-3" data-ng-repeat="r in pergunta.OpcoesResposta"><label style="cursor:pointer;font-style:normal;font-weight:normal;"><input type="checkbox" value="{{ r.ID }}" name="{{ pergunta.ID }}" data-ng-checked="qController.respostaChecked(r,pergunta)" data-ng-click="qController.setResposta(pergunta,r)"> &nbsp;&nbsp;{{ r.Valor }}</label></div></div></div><div data-ng-switch-when="6"><input name="number_{{$index}}" type="number" class="form-control my-form-control" number-converter data-ng-model="pergunta.Respostas[0].Valor" data-ng-required="pergunta.Obrigatoria"> <span class="alert alert-danger alert-form-control" translate="APENAS_VALORES_NUMERICOS" data-ng-show="qController.innerForm['number_' + $index].$error.number"></span></div><div data-ng-switch-default><textarea id="munText" class="form-control my-form-control" data-ng-model="pergunta.Respostas[0].Valor" data-ng-required="pergunta.Obrigatoria"></textarea></div></div><br></div></div></div><span>* Pergunta de resposta obrigatória</span></fieldset></data-ng-form>