<%= f.field_container :name, 'data-hook' => "oauth_application_name" do %> <%= f.label :name, raw(Spree.t(:name) + required_span_tag) %> <%= f.text_field :name, class: 'form-control', required: true %> <%= f.error_message_on :name %> <% end %> <%= f.field_container :scopes, 'data-hook' => "oauth_application_scopes" do %> <%= f.label :scopes, raw(Spree.t(:scopes) + required_span_tag) %> <%= f.text_field :scopes, class: 'form-control' %> <%= f.error_message_on :scopes %> Possible values: <% end %>