suite
This commit is contained in:
parent
b5518a6b91
commit
67c98a5b06
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
= form.input :alt, :label => "Texte alternatif :"
|
= form.input :alt, :label => "Texte alternatif :"
|
||||||
=# form.input :with_legend,:as => :boolean , :label => "Afficher la légende ?"
|
=# form.input :with_legend,:as => :boolean , :label => "Afficher la légende ?"
|
||||||
= form.input :credits, :label => "Crédit photo"
|
|
||||||
= form.input :alignement, :label => "Alignement :", :as => :select, :collection => ImageContent::ALIGNS, :include_blank => false
|
= form.input :alignement, :label => "Alignement :", :as => :select, :collection => ImageContent::ALIGNS, :include_blank => false
|
||||||
= form.input :style, :label => "Style :", :as => :select, :collection => ImageContent::STYLES, :include_blank => false
|
= form.input :style, :label => "Style :", :as => :select, :collection => ImageContent::STYLES, :include_blank => false
|
||||||
= form.input :width, :label => "Largeur :"
|
= form.input :width, :label => "Largeur :"
|
||||||
@ -27,7 +27,7 @@
|
|||||||
= form.input :cible, :label => "Cible :" , :as => :qi_cible_select
|
= form.input :cible, :label => "Cible :" , :as => :qi_cible_select
|
||||||
= form.input :popup, :label => "Ouvrir dans une popup ?", :as => :boolean
|
= form.input :popup, :label => "Ouvrir dans une popup ?", :as => :boolean
|
||||||
|
|
||||||
|
= form.input :credits, :label => "Crédit photo", :as => :text
|
||||||
= form.input :margin_top, :label => "Marge haut :"
|
= form.input :margin_top, :label => "Marge haut :"
|
||||||
= form.input :margin_bottom, :label => "Marge bas :"
|
= form.input :margin_bottom, :label => "Marge bas :"
|
||||||
= form.input :margin_left, :label => "Marge gauche :"
|
= form.input :margin_left, :label => "Marge gauche :"
|
||||||
|
@ -64,5 +64,5 @@
|
|||||||
=image_tag(url, :alt => input.alt.to_s, :style => styleimg )
|
=image_tag(url, :alt => input.alt.to_s, :style => styleimg )
|
||||||
-if input.credits?
|
-if input.credits?
|
||||||
.credits
|
.credits
|
||||||
=input.credits
|
=simple_format(input.credits, {}, wrapper_tag: "div")
|
||||||
=raw '</div>' if style
|
=raw '</div>' if style
|
Loading…
x
Reference in New Issue
Block a user