2011-03-10 15:19:34 +00:00
|
|
|
% layout 'default';
|
|
|
|
|
|
|
|
|
|
% my $title = 'New explain';
|
|
|
|
|
% title $title;
|
|
|
|
|
|
|
|
|
|
<h1><%= $title =%></h1>
|
|
|
|
|
|
2011-03-11 06:19:50 +00:00
|
|
|
<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>
|
2011-03-10 15:19:34 +00:00
|
|
|
</div>
|
|
|
|
|
|
2011-03-11 06:19:50 +00:00
|
|
|
<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" />
|
2011-03-10 15:19:34 +00:00
|
|
|
</div>
|
|
|
|
|
|
2011-03-11 06:19:50 +00:00
|
|
|
<div class="fe fe-last fe-buttons">
|
2011-03-10 15:19:34 +00:00
|
|
|
<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>
|