Add lost file for widget option
This commit is contained in:
parent
2d8400d1cc
commit
ded1d9f44c
|
@ -0,0 +1,13 @@
|
||||||
|
<% if (@module_app && @module_app.widget_options) %>
|
||||||
|
<%= label_tag('widget_options') %>
|
||||||
|
<% if @module_app.widget_options.has_key? @part.widget_path%>
|
||||||
|
<% @module_app.widget_options[@part.widget_path].each do |key,options| %>
|
||||||
|
<%= label_tag(t(@module_app.widget_options_fields_i18n[@part.widget_path][key]))%>
|
||||||
|
<%= select_tag "page_part[widget_options][#{key}]", options_for_select(options,(@part.widget_options[key] rescue nil)) %>
|
||||||
|
<!-- (@part[:widget_field][i][0] if (@part && !@part[:widget_field].blank? && !@part[:widget_field][i].blank?)) ) -->
|
||||||
|
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
<% end %>
|
Loading…
Reference in New Issue