Front-end tweaks
This commit is contained in:
parent
2562055206
commit
da666d11d0
@ -4,7 +4,7 @@
|
||||
= f.error_notification
|
||||
= f.simple_fields_for :speaker_profile do |ff|
|
||||
= ff.input :picture, as: :file
|
||||
= ff.input :first_name
|
||||
= ff.input :first_name, autofocus: true
|
||||
= ff.input :last_name
|
||||
= ff.input :public_email
|
||||
= ff.input :organisation
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
.form-inputs
|
||||
h3.entry-title Данни за вход в системата
|
||||
= f.input :email, required: true, autofocus: true
|
||||
= f.input :email, required: true
|
||||
|
||||
- if devise_mapping.confirmable? && resource.pending_reconfirmation?
|
||||
p
|
||||
|
1
app/views/lectures/_lecture.html.slim
Normal file
1
app/views/lectures/_lecture.html.slim
Normal file
@ -0,0 +1 @@
|
||||
li = link_to lecture.title, lecture
|
@ -1,7 +1,9 @@
|
||||
h1.entry-title Моите предложения за лекции
|
||||
|
||||
ul
|
||||
- for lecture in @lectures
|
||||
li = link_to lecture.title, lecture
|
||||
- unless @lectures.empty?
|
||||
ul
|
||||
= render @lectures
|
||||
- else
|
||||
p Все още не Сте предложили лекция
|
||||
|
||||
= link_to 'Предложи лекция', new_lecture_path
|
||||
= link_to 'Предложи лекция', new_lecture_path, class: 'btn-link'
|
||||
|
1
app/views/workshops/_workshop.html.slim
Normal file
1
app/views/workshops/_workshop.html.slim
Normal file
@ -0,0 +1 @@
|
||||
li = link_to workshop.title, workshop
|
@ -1,7 +1,9 @@
|
||||
h1.entry-title Моите предложения за уъркшопи
|
||||
|
||||
ul
|
||||
- for workshop in @workshops
|
||||
li = link_to workshop.title, workshop
|
||||
- unless @workshops.empty?
|
||||
ul
|
||||
= render @workshops
|
||||
- else
|
||||
p Все още не Сте предложили уъркшоп
|
||||
|
||||
= link_to 'Предложи уъркшоп', new_workshop_path
|
||||
= link_to 'Предложи уъркшоп', new_workshop_path, class: 'btn-link'
|
||||
|
Loading…
Reference in New Issue
Block a user