mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
parent
a8b94c13f3
commit
22cc5e4f14
12 changed files with 190 additions and 13 deletions
7
app/views/admin/photos/_form.html.haml
Normal file
7
app/views/admin/photos/_form.html.haml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
= f.inputs do
|
||||
- if !f.object.errors
|
||||
= image_tag(f.object.picture(:thumb)) unless f.object.picture.blank?
|
||||
= f.input :picture, hint: 'This photo will appear in the gallery of the splash so please give photos of banner sizes.'
|
||||
= f.input :description, :input_html => {:rows => 2 }, hint: 'This description will appear at the bottom of each photo.'
|
||||
.actions
|
||||
= f.button 'Save Photo', :class => 'btn btn-primary'
|
||||
Loading…
Add table
Add a link
Reference in a new issue