Success message upon domain renewal

This commit is contained in:
Al Beano 2017-07-16 18:22:42 +01:00
parent e3d00d0683
commit a824b5d67c
2 changed files with 8 additions and 1 deletions

View File

@ -67,7 +67,7 @@ post '/domains/new' => sub {
);
template 'redir' => {
"redir" => "../domains",
"redir" => "../domains?new=$name",
};
};

View File

@ -2,6 +2,13 @@
<br />
<h1>Your Domains</h1>
<br />
<% IF params.new %>
<div class="msgBox">
The domain '<% params.new | html_entity %>.cyb' was registered successfully!
</div>
<br /><br />
<% END %>
</center>
<div class="body">