Skip to content

Commit

Permalink
fixed issue comfy#79 for version 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
John Small committed Oct 1, 2018
1 parent 8e2705c commit ee608ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ public/*
Gemfile.lock
.rvmrc
.ruby-version
.ruby-gemset
/.sass-cache
coverage/
5 changes: 3 additions & 2 deletions app/views/comfy/admin/blog/blogs/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
= form.text_field :identifier, :data => {:slug => true}
= form.text_field :path

- if (options = Comfy::Cms::Layout.app_layouts_for_select).present?
- if (options = Comfy::Cms::Layout.app_layouts_for_select(lookup_context.view_paths)).present?
= form.select :app_layout, options

= form.text_area :description, :class => 'short'

= form.form_group :class => 'form-actions' do
= form.submit :class => 'btn btn-primary'
= link_to t('.cancel'), comfy_admin_blogs_path(@site), :class => 'btn btn-link'
= link_to t('.cancel'), comfy_admin_blogs_path(@site), :class => 'btn btn-link'

0 comments on commit ee608ef

Please sign in to comment.