<%= form_for(category.attribute_fields.build, method: :post) do |f| %>
<%= f.hidden_field :attribute_category_id, value: category.id %>
<%= f.hidden_field :field_type, value: 'text_area' %>
<%= f.text_area :label, class: 'materialize-textarea js-field-input' %>
<%= f.label :label, 'Field label' %>
<%= f.submit 'Add new text field', class: "btn #{@content_type_class.color}" %>
Notebook.ai can suggest additional text fields for this category.
<%= f.button "Request suggestions", class: 'small btn white black-text js-show-field-suggestions' %>
<% end %>