* Wed May 07 2025 Brian Read <brianr@koozali.org> 11.0.0-3.sme

- Missed lex file last time, plus extra code for new record [SME:13000]
- Get validation working.
- and remove rule.
This commit is contained in:
2025-05-09 16:56:19 +01:00
parent 54a0eb3665
commit 6d5df54c78
7 changed files with 254 additions and 148 deletions

View File

@@ -16,6 +16,9 @@
%= form_for "mailsortingu" => (method => 'POST') => begin
% param 'trt' => $ms_data->{trt} unless param 'trt';
%= hidden_field 'trt' => $ms_data->{trt}
%# die("here");
%= hidden_field 'Selected' => $c->param('Selected')
%# Inputs etc in here.
<h1 class='head'><%=l('ms_Mail_sorting_rules')%></h1>
@@ -26,13 +29,13 @@
%=l('ms_Rule_contents')
</span><span class=data>
% param 'RemoveRule' => $ms_data->{RemoveRule} unless param 'RemoveRule';
%= text_area 'RemoveRule', cols=>40, rows=>10, Readonly=>'true','
%= text_area 'RemoveRule', cols=>60, rows=>20, Readonly=>'true'
</span><br>
<span class='data'>
%= submit_button l('ms_Remove'), class => 'action subm95'
%= submit_button l('ms_Remove'), class => 'action subm05'
</span>
%# Probably finally by a submit.
%end
</div>

View File

@@ -28,7 +28,7 @@
</p>
<p class='paragraph para2'>
%=l('ms_You_can_change_the_order')
%= $ms_data->{topmessage}; #l('ms_You_can_change_the_order')
</p>
<p><span class=label>

View File

@@ -13,6 +13,10 @@
</pre>
% }
% my $btn = l('ms_APPLY');
%# flag selection undefined
% $c->param(Selected => undef);
%= form_for "mailsortingu" => (method => 'POST') => begin
% param 'trt' => $ms_data->{trt} unless param 'trt';
%= hidden_field 'trt' => $ms_data->{trt}