diff options
| author | Guillaume | 2017-10-18 16:53:07 +0200 | 
|---|---|---|
| committer | Guillaume | 2017-10-18 16:53:07 +0200 | 
| commit | 87c14225229ae775d3af8c4ec2eef810788598e0 (patch) | |
| tree | f6eca33b96e42d89c69db2d415805dca874e4d2c | |
| parent | 9c0f538419b66d4c2b34312b7c047f1d5041ad3c (diff) | |
| download | chouette-core-87c14225229ae775d3af8c4ec2eef810788598e0.tar.bz2 | |
add edit button on IHM show for edit compliance_controls Refs #4729
| -rw-r--r-- | app/views/compliance_controls/show.html.slim | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/app/views/compliance_controls/show.html.slim b/app/views/compliance_controls/show.html.slim index 7f11b1041..12a28cd4b 100644 --- a/app/views/compliance_controls/show.html.slim +++ b/app/views/compliance_controls/show.html.slim @@ -1,8 +1,8 @@  / PageHeader -- header_params = ['jeux-de-controle', += pageheader 'jeux-de-controle',          t('compliance_controls.show.title'), -        ''] -= pageheader(*header_params) do +        '', +        link_to(t('actions.edit'), edit_compliance_control_set_compliance_control_path(params[:compliance_control_set_id], params[:id]), class: 'btn btn-default') do  / PageContent  .page_content | 
