kaps_app/app/views/portlets/render_public/_petitioncontent.html.haml
Nicolas Bally d60301e8a7 initial
2019-01-21 01:15:10 +01:00

16 lines
323 B
Plaintext

-begin
-if input.petition and @lang and !admin
-@petition =input.petition
-@petition_lang = @petition.petition_langs.where(:lang_site_id => @lang.id).first
-@signator = @petition.signators.new(:country => "France")
=render :partial => "public/petitions/show"
-else
petition
-rescue
=""