mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Fix blanks.
This commit is contained in:
parent
9666229d59
commit
2723de6f05
@ -10,7 +10,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% @num_blank = 4 - @categories.count -%>
|
||||
<% @num_blank = 4 - @categories.length -%>
|
||||
|
||||
<div class="sg-24 sgParent">
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<% @num_blank = 11 - @photos.count -%>
|
||||
<% @num_blank = 11 - @photos.length -%>
|
||||
|
||||
<% @photos.each do |photo| %>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user