<%= tag_header @topic, 'Edit' %>

<%= form_for @topic, html: { class: 'topic' } do |f| %>
  <%= f.text_field :slug, :disabled => true %>
  <%= f.text_field :title %>
  <%= f.text_field :description %>
  <%= f.check_box :beta %>

  <% if @topic.published? && @topic.dirty? %>
    <div class="callout callout-warning">
      <span class="callout-title">Warning</span>
      This item has unpublished changes to the curated lists. Saving will publish these changes.
    </div>
  <% end %>

  <%= f.submit 'Save', class: 'btn-submit' %>
<% end %>

<%= tag_header @topic, 'Edit' %>

<%= form_for @topic, html: { class: 'topic' } do |f| %>
  <%= f.text_field :slug, :disabled => true %>
  <%= f.text_field :title %>
  <%= f.text_field :description %>
  <%= f.check_box :beta %>
  <%= f.submit 'Save', class: 'btn-submit' %>
<% end %>

Remove warning about unpublished changes
Remove warning about unpublished changes

When tags are now saved, we send the currently published groups to the
content-store, not the current representation.
