Skip to content

Commit

Permalink
page Structure : Permet de naviger vers les campagnes en cliquand sur…
Browse files Browse the repository at this point in the history
… leur nom
  • Loading branch information
etienneCharignon committed Oct 14, 2024
1 parent 5cced7b commit 2e03352
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/admin/structures/_mes_campagnes.html.arb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ div class: 'bloc-mes-campagnes' do
h3 'Campagnes'
if campagnes.present?
table_for campagnes, class: 'index_table' do
column :libelle
column :libelle do |campagne|
link_to campagne.libelle, admin_campagne_path(campagne)
end
column :code
column t('activerecord.attributes.structure.date_derniere_evaluation') do |campagne|
if campagne.date_derniere_evaluation.present?
Expand Down

0 comments on commit 2e03352

Please sign in to comment.