summaryrefslogtreecommitdiff
path: root/views/model.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/model.haml')
-rw-r--r--views/model.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/model.haml b/views/model.haml
index c64d81e..e9d3b95 100644
--- a/views/model.haml
+++ b/views/model.haml
@@ -45,8 +45,10 @@
%dd= model.error_messages
- if model.warnings
%dt Warnings:
- %a{:href => "#", :id => "show_model_#{model.id}_warnings"} show
- %dd{:id => "model_#{model.id}_warnings", :style => "display: none;"}= model.warnings
+
+ %dd
+ %a{:href => "#", :id => "show_model_#{model.id}_warnings"} show
+ %div{:id => "model_#{model.id}_warnings", :style => "display: none;"}= model.warnings
%dt Algorithm:
%dd= toggle_link("#lazar_description","lazar")
- if model.type