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