diff options
-rw-r--r-- | template/en/default/attachment/create.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index b60463dd3..863d83ad0 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -129,6 +129,9 @@ TUI_hide_default('attachment_text_field'); </td> </tr> [% END %] + + [% Hook.process('form_before_submit') %] + <tr> <th> </th> <td><input type="submit" id="create" value="Submit"></td> diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index eeebcffae..fa5e1ee91 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -266,6 +266,9 @@ [% END %] </div> + + [% Hook.process('form_before_submit') %] + [% IF user.id %] <div id="update_container"> <input type="submit" value="Submit" id="update"> |