Change our internal template keys to be prefixed with an underscore for easier identification

This commit is contained in:
2025-06-21 08:35:33 +10:00
parent ee7762d69b
commit e8aaa17122
9 changed files with 38 additions and 36 deletions

View File

@@ -24,8 +24,8 @@
<form id="dn-create" method="POST" class="needs-validation" action="{{ url((int)$step === 2 ? 'entry/create' : 'entry/add') }}" enctype="multipart/form-data" novalidate>
@csrf
<input type="hidden" name="key" value="{{ Crypt::encryptString('*create|'.$container) }}">
<input type="hidden" name="step" value="{{ $step }}">
<input type="hidden" name="_key" value="{{ Crypt::encryptString('*create|'.$container) }}">
<input type="hidden" name="_step" value="{{ $step }}">
@switch($step)
@case(1)

View File

@@ -15,7 +15,7 @@
<div class="main-card mb-3 card">
<form id="import-form" action="{{ url('import/process/ldif') }}" method="POST" enctype="multipart/form-data">
@csrf
<input type="hidden" name="key" value="{{ Crypt::encryptString('*import|_NOP') }}">
<input type="hidden" name="_key" value="{{ Crypt::encryptString('*import|_NOP') }}">
<div class="card-header">
@lang('LDIF Import')