Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add help text to slug form field
Adam Janikb2f5e30cfb1e
diff --git a/saleor/dashboard/page/forms.py b/saleor/dashboard/page/forms.pyindex 3f7b2e9005..b7bb5d15b9 100644--- a/saleor/dashboard/page/forms.py+++ b/saleor/dashboard/page/forms.py@@ -15,6 +15,10 @@ class PageForm(forms.ModelForm):labels = {'is_visible': pgettext_lazy('Visibility status indicator', 'Publish')}+ help_texts = {+ 'slug': pgettext_lazy(+ 'Form field help text',+ 'Slug is being used to create page URL')}content = RichTextField()diff --git a/templates/dashboard/page/detail.html b/templates/dashboard/page/detail.htmlindex b76e85f109..8e7098d444 100644--- a/templates/dashboard/page/detail.html+++ b/templates/dashboard/page/detail.html@@ -41,9 +41,9 @@<span class="right">{% render_page_availability page %}</span><span class="card-title">{{ page }}<br></span><h4>- {% trans "Page Slug" context "Page field" %}+ {% trans "Page URL" context "Page URL" %}</h4>- {{ page.slug }}+ {{ page.get_full_url }}</div><div class="card-action">{% if perms.page.edit_page %}