mirror of
https://gitlab.com/niansa/discordlistforbots.git
synced 2025-03-06 20:49:22 +01:00
20 lines
1.2 KiB
Text
20 lines
1.2 KiB
Text
<%c++ auto owner = @@.get<std::string>("owner");%>
|
|
<%c++ auto error = @@.get<std::string>("error");%>
|
|
<%layout global_layout%>
|
|
|
|
<title>Registering a bot - DFB</title>
|
|
|
|
<div class="container">
|
|
<form action="register" method="POST">
|
|
<p class="title text-center">Registering a bot</p>
|
|
<i style="color:red;">{%error%}</i>
|
|
<p>Client ID</p><input tyep="number" class="special-input maxwidth" name="app_id" maxlength="19" minlength="17" pattern="^[0-9]+$" required>
|
|
<p>Short description</p><input class="special-input maxwidth" name="short_description" maxlength="80" required>
|
|
<p>Long description</p><textarea class="special-input maxwidth" name="long_description" style="height:200px;" required></textarea>
|
|
<p>Prefix</p><input class="special-input maxwidth" name="prefix" maxlength="6" required>
|
|
<p>Permanent support server invite code</p><input class="special-input maxwidth" name="support_server" maxlength="15" minlength="5" required>
|
|
<p>Owner</p><input class="special-input maxwidth" value="{%owner%}" autocomplete="off" disabled>
|
|
<br><br><br>
|
|
<input type="submit" class="special-button" style="margin:0px;" value="Submit">
|
|
</form>
|
|
</div>
|