fix the alt text in the conference logo
This commit is contained in:
parent
2dc3950cb0
commit
2573dbee44
3 changed files with 3 additions and 3 deletions
|
|
@ -192,7 +192,7 @@ module ApplicationHelper
|
||||||
def nav_root_link_for(conference = nil)
|
def nav_root_link_for(conference = nil)
|
||||||
path = conference&.id.present? ? conference_path(conference) : root_path
|
path = conference&.id.present? ? conference_path(conference) : root_path
|
||||||
link_to(
|
link_to(
|
||||||
image_tag('snapcon_logo.png'),
|
image_tag('snapcon_logo.png', alt: nav_link_text(conference)),
|
||||||
path,
|
path,
|
||||||
class: 'navbar-brand',
|
class: 'navbar-brand',
|
||||||
title: nav_link_text(conference)
|
title: nav_link_text(conference)
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
= semantic_form_for(@commercial, url: admin_conference_commercials_path(conference_id: @conference.short_title)) do |f|
|
= semantic_form_for(@commercial, url: admin_conference_commercials_path(conference_id: @conference.short_title)) do |f|
|
||||||
= f.input :url, label: 'URL', as: :string, input_html: { required: 'required', autofocus: true },
|
= f.input :url, label: 'URL', as: :string, input_html: { required: 'required', autofocus: true },
|
||||||
hint: 'Just paste the url of your video/photo provider. YouTube, Vimeo, SpeakerDeck, SlideShare, Instagram, Flickr.'
|
hint: 'Just paste the url of your video/photo provider. YouTube, Vimeo, SpeakerDeck, SlideShare, Instagram, Flickr.'
|
||||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary pull-right', disabled: true }, label: "Save Materials"
|
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary pull-right', disabled: true }
|
||||||
%hr
|
%hr
|
||||||
|
|
||||||
- @commercials.each_slice(3) do |slice|
|
- @commercials.each_slice(3) do |slice|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
= semantic_form_for(@event.commercials.build, url: conference_program_proposal_commercials_path(conference_id: @conference.short_title, proposal_id: @event)) do |f|
|
= semantic_form_for(@event.commercials.build, url: conference_program_proposal_commercials_path(conference_id: @conference.short_title, proposal_id: @event)) do |f|
|
||||||
= f.input :url, label: 'URL', as: :string, input_html: { required: 'required', type: 'url' },
|
= f.input :url, label: 'URL', as: :string, input_html: { required: 'required', type: 'url' },
|
||||||
hint: 'Just paste the url of your video/photo provider. Currently supported: YouTube, Vimeo, SpeakerDeck, SlideShare, Instagram, Flickr.'
|
hint: 'Just paste the url of your video/photo provider. Currently supported: YouTube, Vimeo, SpeakerDeck, SlideShare, Instagram, Flickr.'
|
||||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary pull-right', disabled: true }, label: "Save Materials"
|
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary pull-right', disabled: true }
|
||||||
%hr
|
%hr
|
||||||
- @event.commercials.each_slice(3) do |slice|
|
- @event.commercials.each_slice(3) do |slice|
|
||||||
.row
|
.row
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue