footer.blade.php 482 B

12345678910111213
  1. <div class="card-footer">
  2. @if ($add)
  3. <button type="submit" class="btn btn-primary" wire:click.prevent="store()">Salva</button>
  4. @endif
  5. @if ($update)
  6. @if (!$this->validated)
  7. <button type="submit" class="btn btn-primary" wire:click.prevent="update(false)">Salva</button>
  8. @else
  9. Verbale validato
  10. @endif
  11. @endif
  12. <button type="submit" class="btn btn-default" wire:click.prevent="cancel()">Indietro</button>
  13. </div>