Sha256: d943c2146bb4ba2589a8511b373e04c0f9b6bf023da7b7967e02ce99cfa82799

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

<h1><%= @retailer.name %></h1>

<%= image_tag @retailer.logo.url if @retailer.has_logo? %>

<p>
  <b>Address:</b><br/>
  <%= @retailer.address %>  
  <% if @retailer.has_address2? %>
    <br/>
    <%= @retailer.address2 %>
  <% end %>
  <br/>
  <%= @retailer.city %>, 
  <%= @retailer.state %> <%= @retailer.zipcode %>
</p>  
<% if @retailer.has_phone? %>
  <p>
    <b>Phone:</b> <%= @retailer.phone %>
  </p>
<% end %>
  
<% if @retailer.has_email? %>
  <p>
    <b>Email:</b> <%= mail_to @retailer.email %>
  </p>
<% end %>
  
<% if @retailer.has_url? %>
  <p>
    <b>Website URL:</b>: <%= link_to @retailer.url, @retailer.url, :class => 'popup' %>
  </p>
<% end %>
  
  
<% if @retailer.geocoded? %>
  <p>
    <b>Latitude:</b> <%= @retailer.latitude %>&deg;
    <br/>
    <b>Longitude:</b> <%= @retailer.longitude %>&deg;
    <br/>
    <b>Precision:</b> <%= @retailer.geokit_precision %>
    <br/>
    <b>Provider:</b> <%= @retailer.geokit_provider %>
  </p>
<% end %>


<p>
  <%= link_to_edit @user %> &nbsp;
  <%= link_to t('back'), collection_url %>
</p>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_retailers-1.0.0.0 app/views/spree/admin/retailers/show.html.erb
spree_retailers-0.70.0.0 app/views/admin/retailers/show.html.erb
spree_retailers-0.50.0.0 app/views/admin/retailers/show.html.erb
spree_retailers-0.40.0.4 app/views/admin/retailers/show.html.erb
spree_retailers-0.40.0.2 app/views/admin/retailers/show.html.erb