Sha256: 60f1a374eda47ebba12c1ee6c9e442be9605940149873b794ec6516812be9cc7

Contents?: true

Size: 1.31 KB

Versions: 4

Compression:

Stored size: 1.31 KB

Contents

<div class="span12" style="padding-bottom:20px">
	<%= link_to t('buttons.edit'), edit_contact_path(@contact), class: 'btn' %>
	<%= link_to t('buttons.destroy'), contact_path(@contact), method: :delete, confirm: t('buttons.destroy_confirm'), class: 'btn' %>
</div>

<div class="show span4">
  <b><%= t('attributes.contact.name') %></b>
  <%= @contact.name %>
	<br>
  <b><%= t('attributes.contact.email') %></b>
  <%= @contact.email %>
	<br>
  <b><%= t('attributes.contact.phone') %></b>
  <%= @contact.phone %>
	<br>
  <b><%= t('attributes.contact.web') %></b>
  <%= @contact.web %>
	<br>
  <b><%= t('attributes.contact.bank_account') %></b>
  <%= @contact.bank_account %>
	<br>
  <b><%= t('attributes.contact.ic') %></b>
  <%= @contact.ic %>
	<br>
  <b><%= t('attributes.contact.dic') %></b>
  <%= @contact.dic %>
</div>

<% if @contact.address %>
	<div class="show span4">
			<b><%= t('attributes.address.street') %></b>
			<%= @contact.address.street %> <%= @contact.address.street_number %>
			<br>
			<b><%= t('attributes.address.city') %></b>
			<%= @contact.address.postcode %> <%= @contact.address.city %>
			<br>
			<b><%= t('attributes.address.city_part') %></b>
			<%= @contact.address.city_part %>
			<br>
			<b><%= t('attributes.address.extra_address_line') %></b>
			<%= @contact.address.extra_address_line %>
	</div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
invoice_bar-0.0.4 app/views/invoice_bar/contacts/show.html.erb
invoice_bar-0.0.3 app/views/invoice_bar/contacts/show.html.erb
invoice_bar-0.0.2 app/views/invoice_bar/contacts/show.html.erb
invoice_bar-0.0.1 app/views/invoice_bar/contacts/show.html.erb