mmsc_app/app/views/portlets/render_public/_petitioncontent.html.haml
Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +02: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
=""