Sha256: febd0ef6f7a0788d85cb5c1fbe4c709c6b0e167a7c8b6a74bba2faac98f4999f

Contents?: true

Size: 1.35 KB

Versions: 17

Compression:

Stored size: 1.35 KB

Contents

<div id='actions'>
  <h2>Details</h2>
  <p>
    <strong>Status:</strong> <%= @inquiry.open? ? "Open" : "Closed" %><br/>
    <strong>Age:</strong> <%= time_ago_in_words(@inquiry.created_at) %>
  </p>
  <h2>Actions</h2>
  <ul>
    <li>
      <%= link_to "Back to all Inquiries", {:action => 'index'}, :class => "back_icon" %>
    </li>
  </ul>
</div>
<div id='records'>
  <h2>Inquiry</h2>
  <table id='inquiry'>
    <tr>
      <td>
        <strong>To</strong>
      </td>
      <td>
        <%= RefinerySetting[:site_name] %>
      </td>
    </tr>
    <tr>
      <td>
        <strong>From</strong>
      </td>
      <td>
        <%=h @inquiry.name %> [<%= mail_to @inquiry.email, @inquiry.email, {:title => "Click to email this address"} %>]
      </td>
    </tr>
    <% unless @inquiry.phone.blank? %>
      <tr>
        <td>
          <strong>Phone</strong>
        </td>
        <td>
          <%=h @inquiry.phone %>
        </td>
      </tr>
    <% end %>
    <tr>
      <td>
        <strong>Date</strong>
      </td>
      <td>
        <%= @inquiry.created_at.strftime("%A, %d of %b, %Y") %>
      </td>
    </tr>
    <tr>
      <td valign='top'>
        <strong>Message</strong>
      </td>
      <td>
        <p style='margin-top: 0px'>
          <%=h @inquiry.message.gsub("\r\n\r\n", "\r\n").gsub("\r\n", "</p><p>") %>
        </p>
      </td>
    </tr>
  </table>
</div>

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
jacobat-refinerycms-0.9.6.14 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.14 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.13 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.12 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.11 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.10 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.9 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.8 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.7 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.6 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.5 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.4 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.3 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.2 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6.1 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.6 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb
refinerycms-0.9.5.31 vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb