639 B · text History d69022d
{% extends "base.html" %}
{% block title %}devendra · edit {{ id }}{% endblock %}
{% block content %}
  <p class="muted"><a href="/hosts/{{ id }}">← {{ id }}</a></p>
  <h1>Edit {{ id }}</h1>
  <p class="muted">Saving validates the TOML, writes it to <code>config/hosts/{{ id }}.toml</code>, and republishes this host.</p>
  <form method="post" action="/hosts/{{ id }}" class="card">
    <textarea name="toml" spellcheck="false">{{ raw }}</textarea>
    <p style="margin-top:1rem">
      <button type="submit">Save &amp; publish</button>
      <a class="btn secondary" href="/hosts/{{ id }}">Cancel</a>
    </p>
  </form>
{% endblock %}