<% content_for :js do %> <%= javascript_include_tag 'beta_function' %> <% end %> <%= simple_form_for @conceptual_exam, url: conceptual_exams_in_batchs_path, method: :post, html: { class: 'smart-form' } do |f| %> <%= f.error_notification %> <%= image_tag "beta.png", class: 'hidden', id: 'image-beta' %> <%= render 'base_errors', f: f %>
<%= f.input :unity_id, as: :select2_unity, user: current_user %>
<%= f.input :classroom_id, as: :select2, elements: classrooms_by_current_profile, label: t('lessons_boards.index.classroom'), placeholder: t('lessons_boards.index.classroom'), readonly: action_name != "new" %>
<%= f.input :step_id, as: :select2, elements: steps_current_classroom, required: true, readonly: @conceptual_exam.persisted? %>
<%= f.input :recorded_at %>
<% end %>