1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2025-11-29 23:08:18 +02:00
Files
explain.depesz.com/templates/controller/index.html.ep

27 lines
939 B
Plaintext
Raw Normal View History

% layout 'default';
% my $title = 'New explain';
% title $title;
<h1><%= $title =%></h1>
<form id="new-explain" method="post" action="<%= url_for 'current' %>">
<div class="fe fe-first fe_plan">
<label for="plan">Paste your explain/explain analyze here: <sup class="fe-required">*</sup></label>
<textarea id="plan" name="plan"></textarea>
</div>
<div class="fe fe_is_public">
<label for="is_public">I want this plan to be visible on <a href="<%= url_for 'history' %>" title="link to: history">history</a> page.</label>
<input type="checkbox" class="checkbox" id="is_public" name="is_public" value="1" checked="checked" />
</div>
<div class="fe fe-last fe-buttons">
<button type="submit" name="submit_plan" id="submit_plan"><span>Submit</span></button>
</div>
<p class="nfo-required">All fields marked by <sup class="fe-required">*</sup> are required.</p>
</form>