2019-11-26 15:52:52 +00:00
|
|
|
<% content_for :page_specific_css do -%>
|
|
|
|
<%= stylesheet_link_tag "lib/wrap-nav.css" %>
|
|
|
|
<%= stylesheet_link_tag "lib/pageslide.css" %>
|
|
|
|
<%= stylesheet_link_tag "lib/main-forms.css" %>
|
|
|
|
<%= stylesheet_link_tag "lib/togglebox.css" %>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<% content_for :page_specific_javascript do -%>
|
|
|
|
<%= javascript_include_tag "lib/jquery.tmpl.min.js" %>
|
2021-08-22 08:48:49 +00:00
|
|
|
<%= javascript_include_tag "seminar-field-forms-submission.js" %>
|
2019-11-26 15:52:52 +00:00
|
|
|
<% end -%>
|
|
|
|
<%= form_for @attribute,:url => admin_seminar_path(@attribute) , :html => { :class=> "form-horizontal main-forms" } do |f| %>
|
|
|
|
<% if flash.now[:notice].present? %>
|
|
|
|
<%= flash.now[:notice]%>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<h3><%= @attribute.title %></h3>
|
|
|
|
<fieldset>
|
|
|
|
|
|
|
|
<div id="attributes-area" class="input-area">
|
|
|
|
<%= render partial: "attribute_submission_field",collection: @attribute.seminar_submission_fields.asc(:_id)%>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-actions">
|
|
|
|
<button type="button" class="btn btn-success add-attributes"><%= t(:add_attribute_field) %></button>
|
|
|
|
<%= hidden_field_tag 'id', params[:id] if !params[:id].blank? %>
|
|
|
|
<%= f.submit t(:submit),:class=>"btn btn-primary"%>
|
|
|
|
<%= link_to t('cancel'), get_go_back, :class=>"btn" %>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% content_for :page_specific_javascript do -%>
|
|
|
|
<%= render 'support_member_form_js' %>
|
|
|
|
<% end -%>
|