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