[feat]Add include_happening_now checkbox to the admin splashpage
This commit is contained in:
parent
fd8652d768
commit
6fd3c88f76
4 changed files with 8 additions and 1 deletions
|
|
@ -44,6 +44,9 @@
|
|||
%li
|
||||
= f.input :include_social_media, label: 'Display social media links', input_html: { checked: params[:action] == 'new' || @splashpage.try(:include_social_media) }
|
||||
|
||||
%li
|
||||
= f.input :include_happening_now, label: 'Display events happening now', input_html: { checked: params[:action] == 'new' || @splashpage.try(:include_happening_now) }
|
||||
|
||||
= f.inputs name: 'Access' do
|
||||
%ul.fa-ul
|
||||
%li
|
||||
|
|
|
|||
|
|
@ -45,6 +45,9 @@
|
|||
%li
|
||||
%i{ class: "fa-li #{icon_for_todo @splashpage.include_social_media?}" }
|
||||
Display social media links
|
||||
%li
|
||||
%i{ class: "fa-li #{icon_for_todo @splashpage.include_happening_now?}" }
|
||||
Display events happening now
|
||||
%li
|
||||
- if @conference.splashpage && @conference.splashpage.public
|
||||
%i{ class: "fa-li #{icon_for_todo @splashpage.public?}" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue