mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
rename template
This commit is contained in:
1 parent
9678cd1286
commit
ca009252ac
8 files changed
+159
-34
No files matched your search
@@ -103,6 +103,42 @@
|
||||
name="buttons"
|
||||
/>
|
||||
<template v-else>
|
||||
<form-prompt
|
||||
v-if="nativeApp && editable"
|
||||
data-refresh="false"
|
||||
>
|
||||
<native-action
|
||||
data-placement="title"
|
||||
:data-label="t('name')"
|
||||
>
|
||||
<form
|
||||
class="hidden"
|
||||
method="post"
|
||||
:action="`/templates/${template.id}`"
|
||||
>
|
||||
<input
|
||||
type="hidden"
|
||||
name="_method"
|
||||
value="put"
|
||||
autocomplete="off"
|
||||
>
|
||||
<input
|
||||
type="hidden"
|
||||
name="authenticity_token"
|
||||
:value="authenticityToken"
|
||||
autocomplete="off"
|
||||
>
|
||||
<label for="template_name_prompt">{{ t('name') }}</label>
|
||||
<input
|
||||
id="template_name_prompt"
|
||||
type="hidden"
|
||||
name="template[name]"
|
||||
:value="template.name"
|
||||
autocomplete="off"
|
||||
>
|
||||
</form>
|
||||
</native-action>
|
||||
</form-prompt>
|
||||
<native-action
|
||||
v-if="withSendButton && nativeApp"
|
||||
:data-label="t('send')"
|
||||
|
||||
Reference in new issue
Block a user