orbit-basic/app/views/admin/pages/_data_count_field.html.erb

6 lines
255 B
Plaintext

<label for="<%= field_name %>" class="control-label">
<%= t("default_widget.widget_data_count") %>
</label>
<div class="controls">
<%= select_tag(field_name,options_for_select(@page_frontend_data_counts||[],field_value )) %>
</div>