~sircmpwn/sr.ht-dev

man.sr.ht: Set dir=auto on text inputs v1 PROPOSED

Ersei Saggi: 1
 Set dir=auto on text inputs

 3 files changed, 3 insertions(+), 0 deletions(-)
#1107231 alpine.yml success
#1107232 archlinux.yml failed
#1107233 debian.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/47343/mbox | git am -3
Learn more about email & git

[PATCH man.sr.ht] Set dir=auto on text inputs Export this patch

---
 mansrht/templates/create.html | 1 +
 mansrht/templates/select.html | 1 +
 mansrht/templates/user.html   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/mansrht/templates/create.html b/mansrht/templates/create.html
index 6bc8132..adb86d3 100644
--- a/mansrht/templates/create.html
+++ b/mansrht/templates/create.html
@@ -17,6 +17,7 @@
          <label for="name">Name</label>
          <input
            type="text"
            dir="auto"
            name="name"
            id="name"
            class="form-control {{valid.cls("name")}}"
diff --git a/mansrht/templates/select.html b/mansrht/templates/select.html
index 63fe39b..dbc878f 100644
--- a/mansrht/templates/select.html
+++ b/mansrht/templates/select.html
@@ -18,6 +18,7 @@
            <label for="{{ typename }}">Name</label>
            <input
              type="text"
              dir="auto"
              name="{{ typename }}"
              id="name"
              class="form-control {{ valid.cls(typename) }}"
diff --git a/mansrht/templates/user.html b/mansrht/templates/user.html
index 8afbd99..164a9a6 100644
--- a/mansrht/templates/user.html
+++ b/mansrht/templates/user.html
@@ -41,6 +41,7 @@
        <input
          name="search"
          type="text"
          dir="auto"
          placeholder="Search"
          class="form-control"
          value="{{ search if search else "" }}" />
-- 
2.42.0
man.sr.ht/patches: FAILED in 4m22s

[Set dir=auto on text inputs][0] from [Ersei Saggi][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/47343
[1]: mailto:vcs@ersei.net

✗ #1107232 FAILED  man.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/1107232
✓ #1107233 SUCCESS man.sr.ht/patches/debian.yml    https://builds.sr.ht/~sircmpwn/job/1107233
✓ #1107231 SUCCESS man.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/1107231