suite
This commit is contained in:
parent
76121a4e08
commit
3760434100
@ -16,6 +16,13 @@ $beige:#F1F0EE;
|
|||||||
color:rgba(0,0,0,0.6);
|
color:rgba(0,0,0,0.6);
|
||||||
padding:2px 0;
|
padding:2px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.author{
|
||||||
|
|
||||||
|
color:rgba(0,0,0,0.6);
|
||||||
|
padding:0px 0;
|
||||||
|
text-align:right;
|
||||||
|
}
|
||||||
#bottom{
|
#bottom{
|
||||||
position:absolute;
|
position:absolute;
|
||||||
bottom:0;
|
bottom:0;
|
||||||
|
@ -5,8 +5,10 @@
|
|||||||
= form.input :article_type, :label => "Type d'article :", :collection => [["Article pleine page", "page"],["Demi article", "demi"] ], :as => :select, :include_blank => false
|
= form.input :article_type, :label => "Type d'article :", :collection => [["Article pleine page", "page"],["Demi article", "demi"] ], :as => :select, :include_blank => false
|
||||||
= form.input :title, :label => "Titre :"
|
= form.input :title, :label => "Titre :"
|
||||||
= form.input :description, :label => "Description courte :"
|
= form.input :description, :label => "Description courte :"
|
||||||
|
= form.input :author, :label => "Auteur :"
|
||||||
= form.input :image_file_id, :as => :qi_image_select
|
= form.input :image_file_id, :as => :qi_image_select
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.actions
|
.actions
|
||||||
= form.submit "Sauvegarder", :class => "btn btn-primary"
|
= form.submit "Sauvegarder", :class => "btn btn-primary"
|
||||||
|
@ -62,6 +62,9 @@
|
|||||||
.render_block
|
.render_block
|
||||||
=render plume_article.block
|
=render plume_article.block
|
||||||
|
|
||||||
|
-if plume_article.author?
|
||||||
|
.author
|
||||||
|
=plume_article.author
|
||||||
-if plume_article.article_type == "page"
|
-if plume_article.article_type == "page"
|
||||||
-i = 0
|
-i = 0
|
||||||
=raw "</div><div class='page'>"
|
=raw "</div><div class='page'>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user