Sha256: 8f4cd8be974c18ea54fd7d05df8d49d88220397c0907395f24453dede6eb6dfd
Contents?: true
Size: 1.88 KB
Versions: 14
Compression:
Stored size: 1.88 KB
Contents
<div id='actions'> <h2><%= t('.details')%></h2> <p> <strong><%= t('.age') %>:</strong> <%= time_ago_in_words(@inquiry.created_at) %> </p> <% if @inquiry.spam? %> <p> <strong><%= t('.spam') %>:</strong> <%= t('.spam_yes') %> </p> <% end %> <h2><%= t('.actions') %></h2> <ul> <li> <%= link_to t('.back_to_all_inquiries'), {:action => 'index'}, :class => "back_icon" %> </li> <li> <%= link_to t('admin.inquiries.delete'), admin_inquiry_url(@inquiry), :class => 'delete_icon no-tooltip confirm-delete', :title => t('admin.inquiries.delete'), :'data-confirm' => t('shared.admin.delete.message', :title => @inquiry.name), :'data-method' => "delete" %> </li> </ul> </div> <div id='records'> <h2><%= t('.inquiry') %></h2> <table id='inquiry'> <tr> <td> <strong><%= t('.to') %></strong> </td> <td> <%= RefinerySetting[:site_name] %> </td> </tr> <tr> <td> <strong><%= t('.from') %></strong> </td> <td> <%= @inquiry.name %> [<%= mail_to @inquiry.email, @inquiry.email, {:title => t('.click_to_email')} %>] </td> </tr> <% unless @inquiry.phone.blank? %> <tr> <td> <strong><%= t('.phone') %></strong> </td> <td> <%= @inquiry.phone %> </td> </tr> <% end %> <tr> <td> <strong><%= t('.date') %></strong> </td> <td> <%= l(Date.parse(@inquiry.created_at.to_s), :format => :long) %> </td> </tr> <tr> <td valign='top'> <strong><%= t('.message') %></strong> </td> <td> <p style='margin-top: 0px'> <%= @inquiry.message.gsub("\r\n\r\n", "\r\n").gsub("\r\n", "</p><p>") %> </p> </td> </tr> </table> </div>
Version data entries
14 entries across 14 versions & 1 rubygems