<%= display_header title: taxon.internal_name,
  breadcrumbs: [:taxons, link_to(taxon.internal_name, taxon_path(taxon.content_id)), "Edit"] %>

<%= simple_form_for taxon, url: taxon_path(taxon.content_id), method: :patch do |f| %>
  <%= f.hidden_field :content_id, value: taxon.content_id %>

  <%= render partial: 'form_fields',
     locals: {
       f: f,
       taxons_for_select: taxons_for_select,
       path_prefixes_for_select: path_prefixes_for_select,
     } %>

  <%= f.submit I18n.t('views.taxons.edit_button'), class: "btn btn-lg btn-success" %>
<% end %>

<%= display_header title: taxon.internal_name,
  breadcrumbs: [:taxons, link_to(taxon.internal_name, taxon_path(taxon.content_id)), "Edit"] %>

<%= simple_form_for taxon, url: taxon_path(taxon.content_id), method: :patch do |f| %>
  <% if flash[:error].present? %>
    <div class="alert alert-danger" role="alert">
      <%= flash[:error] %>
    </div>
  <% end %>

  <%= f.hidden_field :content_id, value: taxon.content_id %>

  <%= render partial: 'form_fields',
     locals: {
       f: f,
       taxons_for_select: taxons_for_select,
       path_prefixes_for_select: path_prefixes_for_select,
     } %>

  <%= f.submit I18n.t('views.taxons.edit_button'), class: "btn btn-lg btn-success" %>
<% end %>

Fix error message on taxon edit form
Fix error message on taxon edit form
