Make form module name in partials lowercase - part of routing problem
This commit is contained in:
parent
9e9817e007
commit
8f7f24dbec
@ -13,7 +13,7 @@
|
||||
</pre>
|
||||
% }
|
||||
% my $btn = l('APPLY');
|
||||
%= form_for "${PackageName}d" => (method => 'POST') => begin
|
||||
%= form_for "${lcPackageName}u" => (method => 'POST') => begin
|
||||
% param 'trt' => $$${prefix}_data->{trt} unless param 'trt';
|
||||
%= hidden_field 'trt' => $$${prefix}_data->{trt}
|
||||
%# Inputs etc in here.
|
||||
|
@ -669,7 +669,9 @@ if __name__ == "__main__":
|
||||
partial_mojo_context = {**json5_dict, **html}
|
||||
try:
|
||||
partial_mojo_template = partial_template.render(
|
||||
version=strVersion, **partial_mojo_context
|
||||
version=strVersion, **partial_mojo_context,
|
||||
lcPackageName=json5_dict["PackageName"].lower()
|
||||
|
||||
)
|
||||
with open(partial_files[i], "w") as file:
|
||||
file.write(partial_mojo_template)
|
||||
|
Loading…
Reference in New Issue
Block a user