Skip to content

Commit

Permalink
View Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
PratyushSharma14 committed Mar 14, 2024
1 parent c9a77c7 commit 5b3eaa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/options/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
.col-md-4.text-right
%label.col-form-label Allow Monthly Recurring Donations
= option_description_for(:allow_recurring_donations)
.col-md-8
.col-md-8{id:"allow_recurring_donations_select"}
= f.select :allow_recurring_donations, [['Yes', true], ['No', false]], {}, {:class => 'form-control', onchange: 'showDefaultDonation(this)'}
.form-row{id:"default_donation_type_form_row", style:"visibility: #{@o.allow_recurring_donations ? 'visible' : 'hidden'}"}
.col-md-4.text-right
%label.col-form-label Default Donation Type
= option_description_for(:default_donation_type)
.col-md-8
.col-md-8{id:"donation_type_radio"}
.radio-group.form-inline
= f.radio_button :default_donation_type, 'one', :class => 'form-control', :id => 'one'
= f.label :default_donation_type, 'One Time', :class => 'form-control', :for => 'one'
Expand Down
2 changes: 1 addition & 1 deletion app/views/store/donate.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
.input-group-append
%span.input-group-text.form-control-sm .00
- if Option.allow_recurring_donations
.form-group.form-row
.form-group.form-row{id:"donation_frequency_radio"}
%label.col-form-label.text-right.col-sm-6{:for => :donation} Donation frequency
.radio-group.col-sm-6.col-md-2.form-inline
= radio_button_tag 'donation_type', 'one', Option.default_donation_type == 'one', class: 'form-control', id: 'one'
Expand Down

0 comments on commit 5b3eaa5

Please sign in to comment.