Browse Source

* move submit button

master
Alex 'AdUser' Z 7 years ago
parent
commit
417ff99c4c
  1. 4
      templates/zerobin/create.html.ep

4
templates/zerobin/create.html.ep

@ -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') %>&nbsp;
</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 %>&nbsp; <%= select_field 'expire' => \@times %>&nbsp;
@ -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') || '';

Loading…
Cancel
Save