From 0d83052e52ddfe99c214be7ffca348a3c8feaef5 Mon Sep 17 00:00:00 2001 From: Pavel Kulikov Date: Sat, 11 Mar 2017 10:11:44 +0300 Subject: [PATCH] Fixed #27918 -- Documented ChoiceWidget.option_template_name --- docs/ref/forms/widgets.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index e32cefb0da..e4630a468b 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -612,6 +612,14 @@ These widgets make use of the HTML elements ``input`` and ``textarea``. Selector and checkbox widgets ----------------------------- +These widgets make use of the HTML elements ````, and ````. + +Widgets that render multiple choices have an ``option_template_name`` attribute +that specifies the template used to render each choice. For example, for the +:class:`Select` widget, ``select_option.html`` renders the ``