Add title to tags with pattern regex
This commit is contained in:
parent
ba982816c0
commit
20175cf5cf
@ -25,7 +25,7 @@
|
||||
<span class=label>
|
||||
%=l('${prefix}_${Label}')
|
||||
</span><span class=data>
|
||||
%=date_field '${Name}' =>$$${Name}, pattern=>${regexp | .*}
|
||||
%=date_field '${Name}' =>$$${Name}, pattern=>${regexp | .*}, title = 'Pattern regex mismatch'
|
||||
</span><br>
|
||||
]]></Date>
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
<span class=label>
|
||||
%=l('${prefix}_${Label}')
|
||||
</span><span class=data>
|
||||
%=time_field '${Name}' =>$$${Name}, pattern=>${regexp | .*}
|
||||
%=time_field '${Name}' =>$$${Name}, pattern=>${regexp | .*}, title = 'Pattern regex mismatch'
|
||||
</span><br>
|
||||
]]></Time>
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
%=l('${prefix}_${Label}')
|
||||
</span><span class=data>
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%= text_field '${Name}', size => '${size | 50}', class => 'textinput ${Name}' , pattern=>'${regexp | ".*"}' , placeholder=>'${placeholder | Name}'
|
||||
%= text_field '${Name}', size => '${size | 50}', class => 'textinput ${Name}' , pattern=>'${regexp | ".*"}' , placeholder=>'${placeholder | Name}', title = 'Pattern regex mismatch'
|
||||
<br></span></p>
|
||||
]]></Text>
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
%=l('${prefix}_${Label}')
|
||||
</span><span class=data>
|
||||
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
||||
%= text_field '${Name}', size => '${size | 50}', class => 'textinput ${Name}' , pattern=>'${regexp | ".*"}' , placeholder=>'${placeholder | Name}', Readonly=>'true'
|
||||
%= text_field '${Name}', size => '${size | 50}', class => 'textinput ${Name}' , pattern=>'${regexp | ".*"}' , placeholder=>'${placeholder | Name}', Readonly=>'true' , title = 'Pattern regex mismatch'
|
||||
<br></span></p>
|
||||
]]></ReadonlyText>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user