<div id="story-form" data-story-id="<%= @story.id %>">
  <%= form_for @story do |f| %>
    
    <%= f.label :name %>
    <%= f.text_field :name, id: "story-name-field" %>
    
    <%= f.label :blurb %>
    <%= f.text_area :blurb, id: "story-blurb-field" %>

    <%= f.label :description %>
    <%= f.text_area :description, id: "story-description-field" %>

    <%= f.select :language, options_for_select(Story.language_attributes_for_select), {}, { class: "custom-select", id: "story-language-select" } %>

    <%= f.select :license, options_for_select(Story.license_attributes_for_select), {}, { class: "custom-select", id: "story-license-select" } %>

  <% end %> 
</div>

<div id="story-form" data-story-id="<%= @story.id %>">
  <%= form_for @story do |f| %>
    
    <%= f.label :name %>
    <%= f.text_field :name, id: "story-name-field" %>
    
    <%= f.label :blurb %>
    <%= f.text_area :blurb, id: "story-blurb-field" %>

    <%= f.label :description %>
    <%= f.text_area :description, id: "story-description-field" %>

    <%= f.select :language, options_for_select(Story.language_attributes_for_select, @story.language), {}, { class: "custom-select", id: "story-language-select" } %>

    <%= f.select :license, options_for_select(Story.license_attributes_for_select, @story.license), {}, { class: "custom-select", id: "story-license-select" } %>

  <% end %> 
</div>

Select elements now remember the selected option
Select elements now remember the selected option
