From 0d78331f3cb99aad4bda32329b6898ef67549fc1 Mon Sep 17 00:00:00 2001
From: ArtOfCode- <hello@artofcode.co.uk>
Date: Mon, 8 Jun 2020 00:24:55 +0100
Subject: [PATCH] Add URL slug help

---
 app/views/posts/new_help.html.erb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/views/posts/new_help.html.erb b/app/views/posts/new_help.html.erb
index ddafe2394..e920f3990 100644
--- a/app/views/posts/new_help.html.erb
+++ b/app/views/posts/new_help.html.erb
@@ -26,6 +26,7 @@
   </div>
   <div class="form-group">
     <%= f.label :doc_slug, 'URL slug', class: "form-element" %>
+    <span class="form-caption">In a URL of "https://yoursite.codidact.com/help/topic", the "topic" is the slug.</span>
     <%= f.text_field :doc_slug, class: 'form-element' %>
   </div>
   <div class="form-group">
-- 
GitLab