added external widgets
[shapado:shapado.git] / app / views / widgets / _users_settings.html.haml
1 -form_for(widget, :url => widget_path(widget, :tab => params[:tab]), :class => "form") do
2   .group
3     = label :limit, t('widgets.settings.limit'), :class => "label"
4     = text_field_tag "settings[limit]", widget.settings["limit"],:class => "text_field"
5   = render :partial => "shared/external_widget_settings", :locals => {:widget => widget}
6   .group.navform
7     = submit_tag t("scaffold.update"), :class => "button"