added external widgets
[shapado:shapado.git] / app / views / shared / _external_widget_settings.haml
1 - if params[:tab] == 'external'
2   .group
3     = check_box_tag "settings[exclude_css_on_external]", nil, widget.settings["exclude_css_on_external"], :class => "checkbox"
4     = label :exclude_css_on_external, t('widgets.settings.exclude_css_on_external'), :class => "radio"
5   .group
6     = label :custom_external_css, t('widgets.settings.custom_external_css')
7     = text_area_tag "settings[custom_external_css]", widget.settings["custom_external_css"], :placeholder => "section a {font-size:18px;}"
8   .group
9     = label :settings, t('widgets.settings.code')
10     = widget_code(widget)