Skip to content

Commit

Permalink
[skip ci] fix code-block pb in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheron committed Dec 4, 2021
1 parent aaf2dee commit 3637e59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/model/generation/scratch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ We will create it with devtools, in command prompt:
It is possible to change the default name of the primary key when launching the command :

.. code-block:: bash
Ubiquity model user -k=uid
Expand Down Expand Up @@ -89,7 +90,7 @@ Below is the created model, without the accessors:
#[Validator(type: "email",constraints: ["notNull"=>true])]
#[Validator(type: "length",constraints: ["max"=>150])]
private $email;
}
}
.. tab:: Annotations

Expand Down Expand Up @@ -138,7 +139,7 @@ Modifying existing models
Ubiquity model
Without parameters, if models exist, the model command suggests their loading:
Without parameters, if some models exist, the ``model`` command suggests their loading:



Expand Down

0 comments on commit 3637e59

Please sign in to comment.