Implement custom html widget
[shapado:shapado.git] / app / views / widgets / _custom_html_settings.html.haml
1 .field
2   = label :title, t('widgets.settings.title'), :class => "label"
3   = text_field_tag "settings[title]", widget.settings["title"],:class => "text_field"
4
5 .field
6   = label :content, t('widgets.settings.content'), :class => "label"
7   = text_area_tag "settings[content]", widget.settings["content"],:class => "text_field"
8
9 .field
10   = label :footer, t('widgets.settings.footer'), :class => "label"
11   = text_field_tag "settings[footer]", widget.settings["footer"],:class => "textarea_field"
12
13 = render :partial => "shared/external_widget_settings", :locals => {:widget => widget}