~cadence/Frames

0cba4ae2d1ed20c56744369b24a47da454caa062 — Cadence Ember 1 year, 10 months ago 7c20767
Input pattern validation
2 files changed, 2 insertions(+), 2 deletions(-)

M pug/auth.pug
M pug/start.pug
M pug/auth.pug => pug/auth.pug +1 -1
@@ 12,6 12,6 @@ block main
        You must be following the person who posted it.
      label
        | Instance
        input(type="text" name="instance" placeholder="instance.example" required)
        input(type="text" name="instance" placeholder="instance.example" pattern="[\\w\\.-]+" required)
      input(type="hidden" name="referrer" value=referrer)
      button.pop-button Continue

M pug/start.pug => pug/start.pug +1 -1
@@ 7,5 7,5 @@ block main
      legend Step 1/2
      label
        | Fediverse handle
        input(type="text" name="handle" placeholder="@user@mastodon.example")
        input(type="text" name="handle" placeholder="@user@mastodon.example" pattern="@[\\w-]+@[\\w\\.-]+")
      button.pop-button Continue