pollen_app/app/views/portlets/render_public/_dynamiccontent.html.haml
Nicolas Bally 120e9803eb initial
2020-04-28 14:51:42 +02:00

15 lines
402 B
Plaintext

-if true
-begin
-if admin
=input.name.to_s.downcase
-else
=render :partial => "portlets/dynamic_contents/"+input.name.to_s.downcase ,:locals => {:input => input} if input.name
-rescue
=""
-else
-if admin
=input.name.to_s.downcase
-else
=render :partial => "portlets/dynamic_contents/"+input.name.to_s.downcase ,:locals => {:input => input} if input.name