Registration Component
This commit is contained in:
parent
643b8b173a
commit
5c9e0a279e
19 changed files with 172 additions and 36 deletions
|
|
@ -1,7 +1,11 @@
|
|||
<div class="nested-fields">
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :title%>
|
||||
<%= f.input :title %>
|
||||
<%= f.input :url %>
|
||||
<%= f.input :price_currency, collection: Money::Currency.table.map{ |x| x[1][:iso_code] }, label: 'Price Currency' %>
|
||||
<%= f.input :amount, hint: 'Enter your price in only.For 100$ enter 100 and so on' %>
|
||||
<%= f.input :description, hint: 'This will be displayed on supoorter level category in
|
||||
splash page' %>
|
||||
<%= remove_association_link :supporter_level, f %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,5 +2,6 @@
|
|||
.col-md-8
|
||||
= semantic_form_for(@conference, :url => admin_conference_supporter_level_path(@conference.short_title, @conference.supporter_levels)) do |f|
|
||||
= f.input :use_supporter_levels, :label => false
|
||||
= f.input :ticket_description, hint: 'This will be displayed in Tickets segment of splash page'
|
||||
= dynamic_association :supporter_levels, "Supporter Levels", f
|
||||
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue