diff options
Diffstat (limited to 'views/models.haml')
-rw-r--r-- | views/models.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/models.haml b/views/models.haml index 6724807..9ab2858 100644 --- a/views/models.haml +++ b/views/models.haml @@ -21,3 +21,5 @@ - if @models - @models.each do |model| = haml :model, :locals=>{:model=>model,:subjectstring=>subjectstring}, :layout => false +-if @models.size == 0 + .notice There are currently no models. You have to create a model first. |