Sha256: 7510a12743f8648820e464d70be9b9cc0f9992e7da4e71e6c35bd7f1e9ba9a90
Contents?: true
Size: 863 Bytes
Versions: 1
Compression:
Stored size: 863 Bytes
Contents
<div class="with-bottom-margin"> <div class="nav nav-pills"> <li><a href="<%= paciente_exames_path(:paciente_id => @paciente.id, :format => :pdf) %>"><i class="glyphicon glyphicon-print"></i> Imprimir Exames</a></li> </div> </div> <table class="table table-bordered"> <thead> <tr> <th>Data</th> <th>Tipo de Exame</th> <th>Resultado</th> <th>Valores de Referência</th> </tr> </thead> <tbody> <% @paciente.exames.all.each do |exame| %> <tr> <td><%= exame.data.strftime("%d/%m/%Y") %></td> <% if exame.tipo_exame.nil? or exame.tipo_exame.id == 0 %> Não consta <% else %> <td><%= exame.tipo_exame.nome %></td> <% end %> <td><%= exame.resultado %></td> <td><%= exame.valores_referencia %></td> </tr> <% end %> </tbody> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-sabia-1.0.1 | app/views/pacientes/show/_exames.html.erb |