﻿ticket,summary,type,release,owner,status,created,modified,_description,_reporter
10414,tags not inherited correctly,defect,1.0,,new,2012-10-03T14:40:19+02:00,2019-08-11T22:36:59+02:00,"I think I've found a defect in either ParametrizedTemplatesPlugin or the TagsPlugin. hasienda thinks TagsPlugin is working OK but doesn't use ParametrizedTemplatesPlugin so is unable to check.

BACKGROUND: I have created a few HTML input boxes like this, which
make use of your excellent `/newpage/` handler:

{{{
#!text/html
<form name=""input"" action=""/newpage""> <input type=""text""
name=""page"" /> <input type=""hidden"" name=""tags""
value=""tag_i_really_want"" /> <input type=""submit"" name=""template""
value=""Idea"" /> </form>
}}}

If I do not include the ""hidden"" (tags) field, then the newly created
page will inherit from the template and everything works as expected.
However, including the tags field, the tags value which is passed to
the new wiki page is empty (neither the template nor my explicit
value is included).

Please support either: explicit ""tags"" parameters to add to the
template OR explicit ""tags"" override the template value.

This requires the development branch (0.7+) of tagsplugin.
",Sam Halliday
12942,Default value for textarea input,defect,1.0,,new,2016-11-10T15:32:09+01:00,2019-08-11T22:36:59+02:00,"To get this work, I replace `value` attribute by `placeholder` which is probably now the best attribute for this but added with HTML5 standards:
{{{#!diff
--- parametrizedtemplates/templates/newpage.html	(révision 15914)
+++ parametrizedtemplates/templates/newpage.html	(copie de travail)
@@ -50,8 +41,8 @@
         <div class=""field"">
             <label for=""field_${field[0]}"">${field[1]}:</label><br/>
             <py:choose test="""">
-                <textarea py:when=""field[2] == 'textarea'"" name=""field_${field[0]}"" id=""field_${field[0]}"" class=""template_textarea"" value=""${field[3]}""/>
-                <input py:otherwise="""" type=""text"" name=""field_${field[0]}"" id=""field_${field[0]}"" class=""template_text"" value=""${field[3]}""/>
+                <textarea py:when=""field[2] == 'textarea'"" name=""field_${field[0]}"" id=""field_${field[0]}"" class=""template_textarea"" placeholder=""${field[3]}""/>
+                <input py:otherwise="""" type=""text"" name=""field_${field[0]}"" id=""field_${field[0]}"" class=""template_text"" placeholder=""${field[3]}""/>
             </py:choose>
             <em>${field[0]}</em>
         </div>
}}}",ntmlod
