<form onsubmit="return false" class="form w-full px-[6%] mx-auto my-[25px] form{arguments:db}"
   data-value="{arguments:db}">
   <div class="w-full text-center px-[3%] flex flex-wrap items-center justify-between">
      <button type="button" class="closeButton btn btn-outline btn-ghost"
         onclick="js.part({'do':'{arguments:close}',arguments:{db: '{arguments:db}'}})">Close</button>
      <button type="submit" class="removeButton btn btn-outline btn-secondary"
         onclick='UI.apiPost({method:"DELETE", db:"{arguments:db}", id: "{arguments:fields id}", item: {arguments:fields}})'>Remove</button>
      <button type="submit" class="saveButton btn btn-outline btn-primary"
         onclick='UI.apiPost({method:"{arguments:method}", db: "{arguments:db}", id: "{arguments:fields id}", item:{arguments:fields}})'>Save</button>
   </div>
   <div class="fields my-[20px]">
   </div>
</form>