13 lines
543 B
Plaintext
13 lines
543 B
Plaintext
-@lang = @lang || LangSite.first
|
|
|
|
|
|
|
|
- if input.cible
|
|
-url = input.cible.cible_url(@lang)
|
|
-else
|
|
-url = ""
|
|
=link_to input.name.to_s, url.to_s, :class => "external_link btn "+("orange" if input.style == "CTA orange").to_s, :style => "display: inline-block;color: #ffffff;font-size: 14px;font-weight: medium;background-color: #027878;box-shadow: 7px 7px 5px rgba(0,0,0,0.4);border: 0;padding: 8px 12px;margin: 0 5px;cursor: pointer; "+("background: #e1852a;" if input.style == "CTA orange").to_s, :target => ("_blank" if input.popup).to_s
|
|
|
|
|
|
|