annotate shared_view/includes/dojo/form/Input.tt @ 12:d9551c7e7101

improved dox library
author sergey
date Fri, 16 May 2014 16:47:50 +0400
parents 573272ec604b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
1 [%
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
2 BLOCK INIT;
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
3 document.dojo.modules.push("dijit/form/ValidationTextBox");
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
4 END;
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
5 IF metadata.inputType == 'password';
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
6 value = '';
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
7 ELSE;
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
8 value = metadata.inputValue;
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
9 END;
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
10 %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
11 <input data-dojo-type="dijit/form/ValidationTextBox" id="$id" name="$prefix" type="$metadata.inputType" [% IF NOT metadata.isOptional %]required="true"[% END %] value="$value" />