<%= form_for @field_group, url:{action: @field_group.new_record? ? :create : :update}, html: {class: 'validate-custom-field'} do |f| %>
<% end %>
<%= render partial: 'layouts/admin/form_error', locals: {data: @field_group} %>
<%= f.label t('admin.table.name') %>
<%= f.text_field :name, :class => "form-control required" %>
<%= f.text_field :name, :class => "form-control required" %>
<%= f.label t('admin.table.description') %>
<%= f.text_area :description, :class => "form-control" %>
<%= f.text_area :description, :class => "form-control" %>
<%= f.label t('admin.settings.where_display_group') %>
<% cf_get_items.each do |i,item| %>
<% next if item[:key] == "select_eval" %>
<%= item[:label] %>
<% end %>