Sha256: e4e58fec9fda9f1e4361179594e814889f44c82a3e79aef48ed57b92aa01c53c

Contents?: true

Size: 688 Bytes

Versions: 2

Compression:

Stored size: 688 Bytes

Contents

<div style="">
  <% if @from && @to %>  

    <h2 style="width: 90%; overflow: scroll"><%= @from %> -> <%= @to %> </h2>

    <div style="float :left">

    <p>Are you sure you want to delete above translation?</p>
    <form action='<%= u("/delete")%>' method="post" style="margin-top: 10px ">  
      <input type="hidden" name="_method" value="delete">  
      <input type="hidden" name="from" value="<%= @from %>">  
      <input type="hidden" name="to" value="<%= @to %>">
      <input type="submit" value="Yes, Delete It!">  
      <a href='<%= u("/to?to=#{escape(@to)}") %>'>Cancel</a>  
    </form>  
  </div>
  <% else %>  
    <p>Translation not found.</p>  
  <% end %>
</div>  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rewritten-0.1.0 lib/rewritten/server/views/delete.erb
rewritten-0.0.4 lib/rewritten/server/views/delete.erb