Orbit/app/views/admin/pages/_frontend_fields.html.erb

11 lines
451 B
Plaintext
Raw Normal View History

2012-08-09 07:25:30 +00:00
<% if (@module_app && @module_app.widget_fields) %>
<%= label_tag('frontend_field & frontend_field_type') %>
<% @module_app.widget_fields.each_with_index do |frontend_field, i| %>
<%= i+1 %>
<%= select_tag "page[frontend_field][]",widget_field_options(i,@item) , :include_blank => true %>
2013-04-01 09:06:10 +00:00
<%= select_tag "page[frontend_field_type][]", widget_field_class_options(i,@item), :include_blank => true %> <br />
2012-08-09 07:25:30 +00:00
<% end %>
<% end %>