-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip #1219 adding a form to change the thankyou page url
- Loading branch information
1 parent
6245c76
commit 3b174dc
Showing
4 changed files
with
73 additions
and
3 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
45 changes: 45 additions & 0 deletions
45
subscribie/blueprints/admin/templates/admin/settings/custom_thank_you_page.html
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,45 @@ | ||
{% extends "admin/layout.html" %} | ||
{% block title %} Add Custom Thank you page{% endblock %} | ||
|
||
{% block body %} | ||
|
||
<h2 class="text-center text-dark mb-3">Custom thank you page url</h2> | ||
|
||
<div class="container"> | ||
<ul class="breadcrumb"> | ||
<li class="breadcrumb-item"><a href="/">Shop</a></li> | ||
<li class="breadcrumb-item"><a href="{{ url_for('admin.dashboard') }}">Manage My Shop</a></li> | ||
<li class="breadcrumb-item active" aria-current="page">Custom thank you page url</li> | ||
</ul> | ||
</div> | ||
|
||
<main> | ||
<div class="section"> | ||
<div class="container"> | ||
|
||
<div class="row row-cols-1 row-cols-md-2"> | ||
<div class="col-md-7"> | ||
<p> | ||
Please type the exact url you want your subscribers to visit after subscribing to a plan. | ||
</p> | ||
|
||
<form action="" method="POST" action="/"> | ||
<div class="form-group"> | ||
<label for="email">Your URL:</label> | ||
<input type="text" name="url" class="form-control" | ||
id="url" aria-describedby="emailHelp" | ||
placeholder="https://google.com" required> | ||
</div> | ||
<button type="submit" class="btn btn-primary btn-block mb-3">Save</button> | ||
</form> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> <!-- end container--> | ||
</div> <!-- end section--> | ||
</main> | ||
|
||
|
||
|
||
{% 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
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