|
|
|
@ -10,9 +10,6 @@
|
|
|
|
|
<div> |
|
|
|
|
<%= form_for "/zerobin" => (method => 'POST', enctype => "multipart/form-data") => begin %> |
|
|
|
|
<div> |
|
|
|
|
<span class="zerobin"> |
|
|
|
|
<%= submit_button l('Save') %> |
|
|
|
|
</span> |
|
|
|
|
<span class="zerobin cblock"> |
|
|
|
|
<%= tag 'label' => (for => 'expire') => l('Keep for') %>: |
|
|
|
|
<%= select_field 'expire' => \@times %> |
|
|
|
@ -30,6 +27,7 @@
|
|
|
|
|
<div> |
|
|
|
|
<%= tag 'textarea' => (placeholder => l('Paste your text here'), %opts) => '' %> |
|
|
|
|
</div> |
|
|
|
|
<p><%= submit_button l('Save') %></p> |
|
|
|
|
<% end %> |
|
|
|
|
</div> |
|
|
|
|
% my $result = (flash 'result') || ''; |
|
|
|
|