diff options
| author | Zog | 2017-12-21 15:47:29 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2017-12-21 21:58:56 +0100 | 
| commit | be8afa7aa3fd1c8922a4e02e16cdfef698b3df26 (patch) | |
| tree | 390a90c9b243050259dd9e6ffe2e28e3943176e9 /app/views/lines/show.html.slim | |
| parent | 09f335237d39e9cce1d4051355d16f2781806cbd (diff) | |
| download | chouette-core-be8afa7aa3fd1c8922a4e02e16cdfef698b3df26.tar.bz2 | |
Refs #5361 @1H; Make company optional in Lines form
And handle the case when it is nil in the views
Diffstat (limited to 'app/views/lines/show.html.slim')
| -rw-r--r-- | app/views/lines/show.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/lines/show.html.slim b/app/views/lines/show.html.slim index d62fe30d6..83244f739 100644 --- a/app/views/lines/show.html.slim +++ b/app/views/lines/show.html.slim @@ -6,7 +6,7 @@          = link_to link.href,              method: link.method,              data: link.data, -            class: 'btn btn-primary' do +            class: "btn btn-primary #{link.disabled ? "disabled" : ""}" do                = link.content  - page_header_content_for @line  | 
