basic_app/app/views/portlets/render_public/_dynamiccontent.html.haml
Nicolas Bally fd027c16c1 initial
2020-04-21 21:53:16 +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