use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("<div id=\"DivEE1_$C->{Field}\">\n<input type=\"button\" class=\"btn btn-primary\" value=\"Edit message\" onClick=\"document.getElementById(\'DivEE1_$C->{Field}\').style.display=\'none\'; document.getElementById(\'DivEE2_$C->{Field}\').style.display=\'\'; return false\"><br>\n</div>\n<div id=\"DivEE2_$C->{Field}\" style=\"display:none\">\n    $C->{TagsHelp}\n    <div class=\"form-group\">\n        <label for=\"$C->{Field}_subject\">$C->{MsgSubject}</label>\n        <input id=\"$C->{Field}_subject\" type=\"text\" name=\"$C->{Field}_subject\" size=70 value=\"$C->{SubjectEnc}\" class=\"form-control\">\n    </div>\n    <div class=\"form-group\">\n        <label for=\"$C->{Field}_message\">$C->{MsgMessage}</label>\n        <textarea id=\"$C->{Field}_message\" class=\"form-control\" name=\"$C->{Field}_message\">$C->{MessageEnc}</textarea>\n    </div>\n    <div class=\"custom-control custom-checkbox custom-control-inline\">\n        <input id=\"$C->{Field}_disabled\" type=\"checkbox\" value=\"1\" name=\"$C->{Field}_disabled\" value=\"1\" $C->{Disabled} class=\"custom-control-input\">\n        <label for=\"$C->{Field}_disabled\" class=\"custom-control-label\">$C->{MsgDisabled}</label>\n    </div>\n</div>\n");}