Sha256: 8529fd811e014085083b49122f848c86b77aa28f6403f303a05c829a16f76423

Contents?: true

Size: 1.24 KB

Versions: 16

Compression:

Stored size: 1.24 KB

Contents

<% content_for :sidebar do %>
  <%= render_workshop_sidebar(@workshop) %>
<% end %>

<div id="workshop_registration">
  <div id="workshop_description">
    <%= render_workshop_description(@workshop) %>
    <% if @workshop.show_social_buttons? %>
      <div class="clearfix"></div>
      <%= render(partial: "dm_cms/shared/social_buttons") %>
    <% end %>
  </div>

  <% unless @workshop.require_account && current_user.nil? %>
    <%= simple_form_for @registration, url: register_create_url(@workshop, anchor: 'ticket_information'),
    html: { class: 'form-horizontal' }, wrapper: simple_form_theme_wrapper do |f| %>
    
      <%= render partial: 'section_prices', locals: {f: f} %>

      <%= render partial: 'section_address', locals: {f: f} %>

      <% save_label = @workshop.crowdfunding? ? I18n.t('ems.donate_button') : I18n.t('ems.register_btn') %>
      <%= submit_tag save_label, class: 'btn btn-primary' %>
      <%= link_to I18n.t('ems.cancel_btn'), main_app.index_url, class: 'btn' %>
    <% end %>
  <% else %>
    <%= link_to I18n.t('ems.login'), main_app.new_user_session_path, class: 'btn btn-primary', style: 'margin-bottom: 20px' %>
    <%= link_to I18n.t('ems.create_account'), main_app.new_user_registration_path, class: 'btn'  %>
  <% end %>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm_event-4.2.3.10 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.3.9 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.3.8 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.3.7 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.3.6 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.3.5 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.3.4 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.3.3 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.3.2 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.3.1 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.3 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.2.3 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.2.2 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.2.1 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.2 app/views/dm_event/registrations/new.html.erb
dm_event-4.2.1.5 app/views/dm_event/registrations/new.html.erb