diff options
Diffstat (limited to 'root/html/pages/new/confirm.tt')
-rw-r--r-- | root/html/pages/new/confirm.tt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/root/html/pages/new/confirm.tt b/root/html/pages/new/confirm.tt new file mode 100644 index 0000000..2dde830 --- /dev/null +++ b/root/html/pages/new/confirm.tt @@ -0,0 +1,24 @@ +<div id="foo"> +<h2>Confirmation</h2> + +<p>The URL [% c.session.new_uri | html %] has been succefully validated.</p> + +<p>Please confirm the addition into the database.</p> + +[% IF c.session.hostinfo %] +<p>This URL refer to new mirror [% new_uri.host %] +[% IF c.session.hostinfo.country %] +[% cinfo = c.model('Mirrors').country_info(c.session.hostinfo.country) %] +located in [% cinfo.name | html %] ([% cinfo.continent | html %]) +[%- END -%].</p> +[% ELSE %] +[% END %] + +[% IF exists_url %] +<p>This url will replace the currently invalid url [% exists_url.url | html %].</p> +[% END %] + +[% c.prototype.form_remote_tag({ url => c.uri_for('confirm'), update => 'foo' } ) %] +<input type="submit" name="confirm" value="Yes, add it"> +</form> +</div> |