{"issue":{"created_at":"2011-11-29T10:37:21Z","state":"closed","updated_at":"2011-11-29T10:37:30Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":7,"body":"Hi Leo,\n\nI have a minor/nit-picky thing.\n\nIn all other instances I could find, when a form widget is called, `$this->type` is sent to the template.\n\nThis is useful because I can add this as a CSS class to the widget template, and style the widget based on what type of field it is:\n\n```\n<div class=\"field <?php echo $this->type; ?>\">\n\t<?php echo $this->generateLabel(); ?> \n\t<?php echo $this->generateWithError( true ); ?>\n</div>\n```\n\nHowever, I did find two places where `$this->type` is blank instead:\n\n# The \"Security Question\" captcha on the \"Registration\" module.\n# The password field in the \"Close Account\" module.\n\nIt's not a big deal, and can be worked around in both cases, but it would be awesome if these two fields passed through a type as well to be consistent with the other widgets.\n\nThanks!\n\n--- _Originally created by Medianomaly on March 21st, 2011, at 03:46pm (ID 2947)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2382984,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/test/labels/Feature"},{"name":"frontend","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/frontend"}],"number":2946,"title":"$this->type For the Member Registration and Close Account Modules","closed_at":"2011-11-29T10:37:30Z","html_url":"https://github.com/contao/test/issues/2946","url":"https://api.github.com/repos/contao/test/issues/2946","milestone":{"created_at":"2011-11-29T05:27:08Z","state":"closed","closed_issues":5,"due_on":null,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":36,"description":"Contao 2.9.5 (maintenance release)","title":"2.9.5","url":"https://api.github.com/repos/contao/test/milestones/36","open_issues":0}},"action":"closed"}