zulip/static
Steve Howell 1e8dff6ca9 edit subscribers: Lift form tag to parent template.
For our Subscribers tab we want to enclose our
add-subscriber widget in a form for now, and we
continue to do so, but now we have the form tag
getting created in the parent template, not the
child.

Here is why:

    We want to re-use our add-subscriber widget in an
    upcoming commit for when you create streams.

    In our create-stream UI, there is already an outer
    <form>...</form> section of the HTML for the entire
    process of creating a stream.

    HTML does not yet you nest forms, and even though
    browsers just silently ignore an inner form, we won't
    want to create semantically incorrect HTML.

    Therefore, we want the child template not to have
    the form tags around them.

It's possible that we don't really even want to
enclose the input-pill widget and Add button inside
a form for the Subscribers tab, but tweaking that
for now is too risky. (We don't really take advantage
of the form tag in any meaningful way, since we
don't directly submit form data to the server, and
we can't use a single submit handler for the Enter
key and Add button due to some magic in our input
pills.)
2022-02-15 17:15:02 -08:00
..
assets icons: Set font-display: block for icon font. 2021-08-23 15:59:54 -07:00
audio
generated
html templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
images policies: In DPA, add change history link and make a minor clarification. 2022-02-07 14:37:34 -08:00
js create stream: Improve click handler for Create. 2022-02-15 17:15:02 -08:00
shared js: Avoid _.get. 2022-01-24 15:54:21 -08:00
styles reactions: Increase font size for reactions. 2022-02-14 12:01:09 -08:00
templates edit subscribers: Lift form tag to parent template. 2022-02-15 17:15:02 -08:00
third docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
.gitignore