MiraitSystems/enju_trunk

View on GitHub
app/views/bookstores/show.html.erb

Summary

Maintainability
Test Coverage
<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.bookstore')) -%></h1>
<div id="content_list">
<p id="notice"><%= notice %></p>

<p>
  <strong><%= t('activerecord.attributes.bookstore.name') -%>:</strong>
  <%= @bookstore.name -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.bookstore.name_transcription') -%>:</strong>
  <%= @bookstore.name_transcription -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.bookstore.email') -%>:</strong>
  <%= @bookstore.email -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.bookstore.zip_code') -%>:</strong>
  <%= @bookstore.zip_code -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.bookstore.address') -%>:</strong>
  <%= @bookstore.address -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.bookstore.telephone_number') -%>:</strong>
  <%= @bookstore.telephone_number -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.bookstore.fax_number') -%>:</strong>
  <%= @bookstore.fax_number -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.bookstore.url') -%>:</strong>
  <%= link_to @bookstore.url, @bookstore.url -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.bookstore.note') -%>:</strong>
  <%= @bookstore.note -%>
</p>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.edit'), edit_bookstore_path(@bookstore) -%></li>
    <li><%= link_to t('page.back'), bookstores_path -%></li>
    <% if defined? EnjuTrunkOrder %>
      <% if SystemConfiguration.get("use_order_lists") %>
        <li><%= link_to t('activerecord.models.order_list'), bookstore_order_lists_path(@bookstore) -%></li>
      <% end %>
    <% end %>
  </ul>
</div>