ajout d'un écran intermediaire pour gérer la reaffectation des dossiers
This commit is contained in:
parent
45c8c8ca21
commit
12430a8068
6 changed files with 61 additions and 1 deletions
|
@ -10,4 +10,6 @@ class GroupeInstructeur < ApplicationRecord
|
|||
validates :label, uniqueness: { scope: :procedure, message: 'existe déjà' }
|
||||
|
||||
before_validation -> { label&.strip! }
|
||||
|
||||
scope :without_group, -> (group) { where.not(id: group) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue