Sha256: 7897a99cff9753d7d160d68d874f221076c99a6343479065a5ae92a03de288bf

Contents?: true

Size: 793 Bytes

Versions: 11

Compression:

Stored size: 793 Bytes

Contents

<h3>
  Preview of <%= @template.name%>
  <span style="float: right">
    <%= form_tag :test_template do %>
      <%= text_field_tag :email, nil, placeholder: 'email' %>
      <%= submit_tag 'Send test' %>
    <% end %>
  </span>
</h3>

<%= link_to 'Back', templates_path %> |
<%= link_to 'Edit', edit_template_path(@template) %> | 
<%= link_to 'Destroy', @template, method: :delete, data: { confirm: 'Are you sure?' } %>

<hr/>

<b>Name: </b><%= @template.name %><br/>
<b>To: </b><%= liquidize @template.to, @liquid_variables %><br/>
<b>Cc: </b><%= liquidize @template.cc, @liquid_variables %><br/>
<b>Subject: </b><%= liquidize @template.subject, @liquid_variables %><br/>
<hr/>
<b>Body: </b>
  <span class='reset-this'>
    <%= liquidize @template.body, @liquid_variables %>
  </span>
<hr/>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rooler-0.0.11 app/views/rooler/templates/show.html.erb
rooler-0.0.10 app/views/rooler/templates/show.html.erb
rooler-0.0.9 app/views/rooler/templates/show.html.erb
rooler-0.0.8 app/views/rooler/templates/show.html.erb
rooler-0.0.7 app/views/rooler/templates/show.html.erb
rooler-0.0.6 app/views/rooler/templates/show.html.erb
rooler-0.0.5 app/views/rooler/templates/show.html.erb
rooler-0.0.4 app/views/rooler/templates/show.html.erb
rooler-0.0.3 app/views/rooler/templates/show.html.erb
rooler-0.0.2 app/views/rooler/templates/show.html.erb
rooler-0.0.1 app/views/rooler/templates/show.html.erb