Sha256: 9f52e69c578e1a3ccd3d061c6c885cd2500b714e1c7191a4277a3dbb232eccc4

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 KB

Contents

<% if @json %>
<%= render :partial => "header" %>
<% end %>
<section class="show">

<ul class="thumbnails">
  <li class="span9">
    <div class="thumbnail">
      <div class="caption">
		<legend><%= t("contacts.show.title") %></legend>
	  </div>
	  <div class="row">
		<div class="span4">

		  <div class="control-group">
            <%= show_label_tag t('contacts.name') %>
			<%= @contact.name %>
          </div>

		  <div class="control-group">
            <%= show_label_tag t('contacts.departament') %>
			<%= name_or_empty @contact.department %>
          </div>

		  <div class="control-group">
            <%= show_label_tag t('contacts.business_function') %>
			<%= @contact.business_function %>
          </div>

		  <div class="control-group">
            <%= show_label_tag t('contacts.phone') %>
			<%= @contact.phone %>
          </div>

		  <div class="control-group">
            <%= show_label_tag t('contacts.cell') %>
			<%= @contact.cell %>
          </div>

		  <div class="control-group">
            <%= show_label_tag t('contacts.birthday') %>
			<%= @contact.birthday %>
          </div>

		</div>
	</div>
  </li>
</ul>
</section>
<% if @json then @new_target = { target: 'new' } end %>
<%= link_to t('helpers.forms.edit'), edit_customer_contact_path(@contact.customer, @contact), @new_target %> |
<%= link_to t('helpers.forms.back'), customer_contacts_path(@contact.customer), @new_target %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 app/views/contacts/show.html.erb
guara-0.0.1.rc app/views/contacts/show.html.erb