$language->{translation_vc} = $translations_vc{$language->{id}};
}
+ setup_generictranslations_edit_sepa_strings_action_bar();
+
$form->{title} = $locale->text('Edit SEPA strings');
$form->header();
print $form->parse_html_template('generictranslations/edit_sepa_strings');
}
}
+sub setup_generictranslations_edit_sepa_strings_action_bar {
+ my %params = @_;
+
+ for my $bar ($::request->layout->get('actionbar')) {
+ $bar->add(
+ action => [
+ t8('Save'),
+ submit => [ '#form', { action => "save_sepa_strings" } ],
+ accesskey => 'enter',
+ ],
+ );
+ }
+}
+
1;
</p>
[%- END %]
- <form method="post" action="generictranslations.pl">
+ <form method="post" action="generictranslations.pl" id="form">
<table>
[%- END %]
</table>
-
- <p>
- <input type="hidden" name="action" value="save_sepa_strings">
- <input type="submit" class="submit" value="[% 'Save' | $T8 %]">
- </p>
-
</form>
-