intra_app/app/views/portlets/render_public/_petitioncontent.html.haml
Nicolas Bally 761e075bb6 initial
2018-11-08 21:47:30 +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
=""