22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
<%= errors_summary_for casting_call %>
|
|
|
|
<%= bootstrap_form_with model: model, url: [@project, @casting_call, show_chat: true], local: true do |form| %>
|
|
<div class="alert alert-info text-center text-md-left">
|
|
<%= fa_icon "info-circle" %>
|
|
<strong><%= t '.info_message' %></strong>
|
|
</div>
|
|
|
|
<%= form.text_field :title, label: t('.labels.title') %>
|
|
<%= form.text_area :description, label: t('.labels.description') %>
|
|
<%= form.text_area :project_description, label: t('.labels.project_description') %>
|
|
<%= form.text_area :interview_instructions, label: t('.labels.interview_instructions') %>
|
|
<%= form.text_area :interview_requirements, label: t('.labels.interview_requirements') %>
|
|
<%= form.text_area :questions, label: t('.labels.questions') %>
|
|
|
|
<div class="row align-items-center text-center mt-4">
|
|
<%= link_to t("shared.cancel"), [project, :casting_calls], class: "col-3 text-reset" %>
|
|
<div class="col-9">
|
|
<%= form.submit class: class_string("btn btn-block", ["btn-success", "btn-primary"] => casting_call.new_record?), data: { disable_with: t("shared.disable_with") } %>
|
|
</div>
|
|
</div>
|
|
<% end %> |