diff --git a/app/views/events/propose_speaker.html.haml b/app/views/events/propose_speaker.html.haml index 137bbbf..ae03ee7 100644 --- a/app/views/events/propose_speaker.html.haml +++ b/app/views/events/propose_speaker.html.haml @@ -61,13 +61,14 @@ = f.text_field :twitter, label: false, maxlength: 64, pattern: "([A-Za-z0-9_]{1,15})", class: "radius" .large-12.columns - .hide-for-touch - = f.check_box :certificate, label: t('speaker.request_certificate').humanize - // FIXME!! - -# %label{for: "certificate"} - -# = t('speaker.request_certificate').humanize + -# .hide-for-touch + = f.check_box :certificate, label: t('speaker.request_certificate').humanize + // FIXME!! + -# %label{for: "certificate"} + -# = t('speaker.request_certificate').humanize - .show-for-touch + -# FIXME: Switch behaviour + -# .show-for-touch .switch.radius.small // FIXME: generate Foundation randmom_str as ID - rand_id = ('0'..'z').to_a.shuffle.first(6).join diff --git a/app/views/partials/_speaker_fields.html.haml b/app/views/partials/_speaker_fields.html.haml index 9b6d27d..a6eac53 100644 --- a/app/views/partials/_speaker_fields.html.haml +++ b/app/views/partials/_speaker_fields.html.haml @@ -31,12 +31,13 @@ = f.text_field :twitter, label: false, maxlength: 64, pattern: "([A-Za-z0-9_]{1,15})", class: "radius" .large-12.columns - .hide-for-touch - = f.check_box :certificate, label: t('speaker.request_certificate').humanize - // FIXME!! - -# %label{for: "certificate"} - -# = t('speaker.request_certificate').humanize - .show-for-touch + -# .hide-for-touch + = f.check_box :certificate, label: t('speaker.request_certificate').humanize + // FIXME!! + -# %label{for: "certificate"} + -# = t('speaker.request_certificate').humanize + -# FIXME: Switch behaviour + -# .show-for-touch .switch.radius.small // FIXME: generate Foundation randmom_str as ID - rand_id = ('0'..'z').to_a.shuffle.first(6).join