{% extends "base.html" %}

{% block title %}new bot - irc.bot{% endblock %}

{% block content %}
<div class="content">
  <h1>new bot</h1>
  <form method="post" action="/create" class="bot-form">
    <label>name</label>
    <input type="text" name="name" placeholder="my-bot" class="input" required>

    <label>nick</label>
    <input type="text" name="nick" placeholder="mybot" class="input" required>

    <label>network address</label>
    <input type="text" name="network_addr" value="irc+insecure://soju-shared:6667" class="input" required>

    <label>sasl username</label>
    <input type="text" name="sasl_username" placeholder="username" class="input">

    <label>sasl password</label>
    <input type="password" name="sasl_password" placeholder="password" class="input">

    <label>channels (comma separated)</label>
    <input type="text" name="channels" placeholder="#general, #bots" class="input">

    <button type="submit" class="btn-fill">create bot</button>
  </form>
</div>
{% endblock %}
