diff --git a/app/lib/seeds.rb b/app/lib/seeds.rb index 6ee5fbfd8..2924eb6a8 100644 --- a/app/lib/seeds.rb +++ b/app/lib/seeds.rb @@ -69,7 +69,8 @@ def create_contact def create_editor editor = Editor.create!( name: 'UMAD Corp', - form_uids: %w[umadcorp-form-api-entreprise umadcorp-form-api-particulier] + form_uids: %w[umadcorp-form-api-entreprise umadcorp-form-api-particulier], + copy_token: true ) create_user( email: 'editeur@yopmail.com', diff --git a/app/views/admin/editors/index.html.erb b/app/views/admin/editors/index.html.erb index 599618e5e..cbf4a8567 100644 --- a/app/views/admin/editors/index.html.erb +++ b/app/views/admin/editors/index.html.erb @@ -10,6 +10,7 @@ 'ID', 'Nom', 'Formulaires', + 'Features', 'Emails', ].each do |attr| %> @@ -39,6 +40,11 @@ <% end %> + + + <% if editor.users %>