-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
makes the revamp of the subscription form
- Loading branch information
1 parent
5cf657c
commit 8ebdc2c
Showing
8 changed files
with
24 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
<dialog id="{{ dialog_id }}" class="dialog dialog_{{ dialog_position }}"> | ||
<div class="dialog-content"> | ||
{# <header class="dialog-header">#} | ||
{# <form class="dialog-close">#} | ||
{# <button class="button button--ghost button--sm" formmethod="dialog">#} | ||
{# {% include 'icons/close.svg' %}#} | ||
{# </button>#} | ||
{# </form>#} | ||
{# </header>#} | ||
<div> | ||
{% block body %}{% endblock %} | ||
</div> | ||
{% block body %}{% endblock %} | ||
</div> | ||
</dialog> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,5 @@ | ||
{% extends 'dialogs/base.html' %} | ||
{% load i18n %} | ||
|
||
{% block body %} | ||
<div class="form-inline-row"> | ||
<form class="form flex-column-button-container" | ||
method="post" action="{% url 'new_feed' %}" | ||
hx-post="{% url 'new_feed' %}" | ||
> | ||
{% csrf_token %} | ||
<div class="form-inline-row"> | ||
{{ form.as_div }} | ||
<button class="button button--primary button--sm" type="submit"> | ||
{% translate 'Add feed' noop %} | ||
</button> | ||
</div> | ||
</form> | ||
<button class="button button--primary button--sm" type="submit"> | ||
Add feed | ||
</button> | ||
</div> | ||
{% include 'forms/feed_new.html' %} | ||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% load i18n %} | ||
|
||
<form class="form flex-column-button-container" | ||
method="post" action="{% url 'new_feed' %}" | ||
hx-post="{% url 'new_feed' %}" | ||
hx-swap="outerHTML" | ||
> | ||
{% csrf_token %} | ||
<div class="form-inline-row"> | ||
{{ form.as_div }} | ||
<button class="button button--primary button--sm" type="submit"> | ||
{% translate 'Add feed' noop %} | ||
</button> | ||
</div> | ||
</form> | ||
{% block result %}{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters