Skip to content

Commit

Permalink
Update layout_form.twig
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Apr 25, 2024
1 parent 3f79774 commit 0bbde19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/view/template/design/layout_form.twig
Expand Up @@ -277,7 +277,7 @@ function addModule(type) {
html += ' </select>';
html += ' <input type="hidden" name="layout_module[' + module_row + '][position]" value="' + type.replaceAll('-', '_') + '" />';
html += ' <input type="hidden" name="layout_module[' + module_row + '][sort_order]" value="" />';
html += ' <a href=" data-bs-toggle="tooltip" title="{{ button_edit|escape('js') }}" class="btn btn-primary btn-sm"><i class="fa-solid fa-pencil fa-fw"></i></a><button type="button" onclick="$(\'#module-row-' + module_row + '\').remove();" data-bs-toggle="tooltip" title="{{ button_remove|escape('js ') }}" class="btn btn-danger btn-sm"><i class="fa-solid fa-minus-circle fa-fw"></i></button>';
html += ' <a href=" data-bs-toggle="tooltip" title="{{ button_edit }}" class="btn btn-primary btn-sm"><i class="fa-solid fa-pencil fa-fw"></i></a><button type="button" onclick="$(\'#module-row-' + module_row + '\').remove();" data-bs-toggle="tooltip" title="{{ button_remove }}" class="btn btn-danger btn-sm"><i class="fa-solid fa-minus-circle fa-fw"></i></button>';
html += ' </div></td>';
html += '</tr>';
Expand Down

0 comments on commit 0bbde19

Please sign in to comment.