Commit a6985c77 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Add new image to show the 'Reset template' button

parent 163c4f56
# Description templates # Description templates
>**Note:** [Introduced][ce-4981] in GitLab 8.11. >[Introduced][ce-4981] in GitLab 8.11.
Description templates allow you to define context-specific templates for issue Description templates allow you to define context-specific templates for issue
and merge request description fields for your project. and merge request description fields for your project.
...@@ -31,10 +31,11 @@ push to your default branch. ...@@ -31,10 +31,11 @@ push to your default branch.
## Using the templates ## Using the templates
Let's take for example that you have created the file `.gitlab/issue_templates/bug.md`. Let's take for example that you've created the file `.gitlab/issue_templates/Bug.md`.
This will enable the `bug` dropdown option when creating or editing issues. When This will enable the `Bug` dropdown option when creating or editing issues. When
`bug` is selected, the content from the `bug.md` template file will be copied `Bug` is selected, the content from the `Bug.md` template file will be copied
to the issue description field. to the issue description field. The 'Reset template' button will discard any
changes you made after picking the template and return it to its initial status.
![Description templates](img/description_templates.png) ![Description templates](img/description_templates.png)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment