<?php
/* Smarty version 3.1.39, created on 2024-05-08 05:32:05
  from 'C:\xamppp\htdocs\HotelRsvpSystem\admin\themes\default\template\controllers\translations\helpers\view\translation_inputs_update.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.39',
  'unifunc' => 'content_663af235d361d2_62486989',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'e7534373d671e04c32c15c2560dcc0e6a6fd4b07' => 
    array (
      0 => 'C:\\xamppp\\htdocs\\HotelRsvpSystem\\admin\\themes\\default\\template\\controllers\\translations\\helpers\\view\\translation_inputs_update.tpl',
      1 => 1712649312,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_663af235d361d2_62486989 (Smarty_Internal_Template $_smarty_tpl) {
echo '<script'; ?>
 type="text/javascript">
    $(document).ready(function(){
        $('#translations_form input:text,textarea').each(function(){
            $(this).data('name',$(this).attr('name'));
            $(this).removeAttr('name');
        });
        $('#translations_form').on('change','input:text,textarea',function(){
            var name = $(this).data('name');
            if(name) $(this).attr('name',name);
        });
    });
<?php echo '</script'; ?>
><?php }
}
