Revert "Merge pull request #7907 from tchak/feat-cond-repetitions"
This reverts commit1900f8ff4c
, reversing changes made tofebffc2d64
. # Conflicts: # app/models/dossier.rb
This commit is contained in:
parent
b740c75f09
commit
0d10d36cb0
11 changed files with 144 additions and 229 deletions
|
@ -239,7 +239,7 @@ class Champ < ApplicationRecord
|
|||
private
|
||||
|
||||
def champs_for_condition
|
||||
dossier.champs.filter { _1.row.nil? || _1.row == row }
|
||||
private? ? dossier.champs_private : dossier.champs_public
|
||||
end
|
||||
|
||||
def html_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue