<%= render_aspace_partial :partial => "shared/form_messages", :locals => {:object => @subject, :form => form} %> <%= render_aspace_partial :partial => "terms/template", :locals => {:form => form, :show_preview => true} %>
<%= form.hidden_input "vocabulary", current_vocabulary['uri'] %> <% define_template "subject", jsonmodel_definition(:subject) do |form| %>

<%= I18n.t("subject._frontend.section.basic_information") %> <%= link_to_help :topic => "subject_basic_information" %>

<%= form.label_and_textfield "authority_id" %> <%= form.label_and_select "source", form.possible_options_for("source", true) %> <%= form.label_and_textarea "scope_note" %>
<% end %> <% form.emit_template("subject") %> <%= render_aspace_partial :partial => "shared/subrecord_form", :locals => {:form => form, :name => "terms", :required => true, :heading_text => I18n.t("subject._frontend.section.terms")} %> <%= render_aspace_partial :partial => "shared/subrecord_form", :locals => {:form => form, :name => "external_documents"} %> <%= form_plugins_for("subject", form) %>