<%= t(:dependant_information) %>:

<%= image_tag(@dependant.citizen.photo.url(:medium),:alt => @dependant.citizen.name) %>

<%= t(:Name) %>: <%= @dependant.citizen.name %>

<%= t(:sus_number) %>: <% if @dependant.citizen.sus_number != "" %> <%= @dependant.citizen.sus_number %> <% else %> Não informado <% end %>

<%= t(:cpf) %>: <% if @dependant.citizen.cpf != "" %> <%= @dependant.citizen.cpf %> <% else %> Não informado <% end %>

RG: <% if @dependant.citizen.rg != "" %> <%= @dependant.citizen.rg %> <% else %> Não informado <% end %>

<%= t(:birth_date) %>: <%= @dependant.citizen.birth_date.strftime("%d/%m/%Y") %>

<% if @dependant.citizen.pcd %> <% if !@dependant.citizen.pcd.empty? %>

Deficiência: <%= @dependant.citizen.pcd %>

<% end %> <% end %>

<%= t(:phone1) %>: <% if @dependant.citizen.phone1 != "" %> <%= @dependant.citizen.phone1 %> <% else %> Não informado <% end %>

<%= t(:phone2) %>: <% if @dependant.citizen.phone2 != "" %> <%= @dependant.citizen.phone2 %> <% else %> Não informado <% end %>

E-mail: <% if @dependant.citizen.email != "" %> <%= @dependant.citizen.email %> <% else %> Não informado <% end %>

CEP: <% if @dependant.citizen.cep != "" %> <%= @dependant.citizen.cep %> <% else %> Não informado <% end %>

<%= t(:state) %>: <% if @dependant.citizen.city %> <% unless @dependant.citizen.city.state.nil? %> <%= @dependant.citizen.city.state.name %> <% end %> <% else %> Não informado <% end %>

<%= t(:city) %>: <% if @dependant.citizen.city %> <%= @dependant.citizen.city.name %> <% else %> Não informado <% end %>

<%= t(:neighborhood) %>: <% if @dependant.citizen.neighborhood %> <%= @dependant.citizen.neighborhood %> <% else %> Não informado <% end %>

<%= t(:address_street) %>: <% if @dependant.citizen.address_street %> <%= @dependant.citizen.address_street %> <% else %> Não informado <% end %>

<%= t(:address_number) %> do endereço: <% if @dependant.citizen.address_number != "" %> <%= @dependant.citizen.address_number %> <% else %> Não informado <% end %>

<%= t(:address_complement) %> do endereço: <% if @dependant.citizen.address_complement != "" %> <%= @dependant.citizen.address_complement %> <% else %> Não informado <% end %>

<% if @dependant.citizen.note != "" %>

<%= t(:Note) %>: <%= @dependant.citizen.note %>

<% end %>
<% if can_edit?(@responsible) %> <%= link_to t(:Edit), edit_dependant_path(@dependant.id) , :class => 'btn waves-effect right' %> <% if @currentProfessionalServicePlace != nil %> <%= link_to t(:remove_dependant), promote_dependant_path(@dependant.id) , :class => 'btn waves-effect right btn-remove' %> <% end %> <% end %> <%= link_to 'Voltar', dependants_path, :class => 'back-bt waves-effect btn-flat' %>