PHP code example of 64robots / nova-row

1. Go to this page and download the library: Download 64robots/nova-row library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

64robots / nova-row example snippets


use R64\NovaFields\Row;

Row::make('Lines', [
      Number::make('Quantity')
        ->fieldClasses('w-full px-8 py-6')
        ->hideLabelInForms(),
      Text::make('Product')
        ->fieldClasses('w-full px-8 py-6')
        ->hideLabelInForms(),
      Number::make('Price')
        ->fieldClasses('w-full px-8 py-6')
        ->hideLabelInForms(),
    ])->fieldClasses('w-full px-8 py-6')
      ->labelClasses('w-1/2 px-8 py-6'),

...

  "Add Row": "Añadir Fila",
  "Delete Row": "Eliminar Fila",
  "Are you sure you want to delete this row?": "¿Estás seguro de querer eliminar esta fila?"