diff options
| author | cedricnjanga | 2018-02-06 10:43:59 -0800 | 
|---|---|---|
| committer | cedricnjanga | 2018-02-06 11:21:58 -0800 | 
| commit | ad7dfea7f280cdf0727dd3471a1f26db4197c394 (patch) | |
| tree | aff3b5c90846570950224f6eacee61f5e80f0ebd /app/views/calendars | |
| parent | 6fed156aac403fdd3dd8aeb4c023dd0fb7adec21 (diff) | |
| download | chouette-core-ad7dfea7f280cdf0727dd3471a1f26db4197c394.tar.bz2 | |
Update calendar form_simple according to workgroup
Diffstat (limited to 'app/views/calendars')
| -rw-r--r-- | app/views/calendars/_form_simple.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/calendars/_form_simple.html.slim b/app/views/calendars/_form_simple.html.slim index 2f469ada7..ba18c765b 100644 --- a/app/views/calendars/_form_simple.html.slim +++ b/app/views/calendars/_form_simple.html.slim @@ -1,6 +1,6 @@  .row    .col-lg-8.col-lg-offset-2.col-md-8.col-md-offset-2.col-sm-10.col-sm-offset-1 -    = simple_form_for @calendar, html: { class: 'form-horizontal', id: 'calendar_form' }, wrapper: :horizontal_form do |f| +    = simple_form_for [@workgroup, @calendar], html: { class: 'form-horizontal', id: 'calendar_form' }, wrapper: :horizontal_form do |f|        .row          .col-lg-12            = f.input :name | 
