This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/app/views/portlets/render_public/_dynamiccontent.html.haml
2021-08-23 10:26:02 +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