687 B · text History e832e77
{% extends "base.html" %}
{% block title %}devendra · edit fragment {{ id }}{% endblock %}
{% block content %}
  <p class="muted"><a href="/fragments/{{ id }}">← {{ id }}</a></p>
  <h1>Edit fragment {{ id }}</h1>
  <p class="muted">Saving validates the TOML, writes <code>config/include/{{ id }}.toml</code>,
    and republishes every host that includes it.</p>
  <form method="post" action="/fragments/{{ 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="/fragments/{{ id }}">Cancel</a>
    </p>
  </form>
{% endblock %}