|
90 | 90 | {% if petition.org_twitter_handle %}value="{{ petition.org_twitter_handle }}"{% endif %}> |
91 | 91 | </div> |
92 | 92 | </div> |
93 | | - <div class="form-group row"> |
94 | | - <label for="id_has_share_buttons" class="col-sm-12 col-md-3 col-lg-2 col-form-label">{% trans "Enable share buttons?" %}</label> |
95 | | - <div class="col-sm-12 col-md-9 col-lg-10"> |
96 | | - <div class="custom-control custom-switch"> |
97 | | - <input type="checkbox" name="has_share_buttons" class="is-valid custom-control-input" id="id_has_share_buttons" |
98 | | - {% if petition.has_share_buttons %} checked {% endif %}> |
99 | | - <label class="custom-control-label" for="id_has_share_buttons">{% trans "Enable share buttons?" %}</label> |
100 | | - </div> |
101 | | - </div> |
102 | | - </div> |
| 93 | + <div class="form-group row"> |
| 94 | + <label for="id_has_email_share_button" class="col-sm-12 col-md-3 col-lg-2 col-form-label">{% trans "Enable email share button?" %}</label> |
| 95 | + <div class="col-sm-12 col-md-9 col-lg-10"> |
| 96 | + <div class="custom-control custom-switch"> |
| 97 | + <input type="checkbox" name="has_email_share_button" class="is-valid custom-control-input" id="id_has_email_share_button" |
| 98 | + {% if petition.has_email_share_button %} checked {% endif %}> |
| 99 | + <label class="custom-control-label" for="id_has_email_share_button">{% trans "Enable email share button?" %}</label> |
| 100 | + </div> |
| 101 | + </div> |
| 102 | + </div> |
| 103 | + <div class="form-group row"> |
| 104 | + <label for="id_has_facebook_share_button" class="col-sm-12 col-md-3 col-lg-2 col-form-label">{% trans "Enable Facebook share button?" %}</label> |
| 105 | + <div class="col-sm-12 col-md-9 col-lg-10"> |
| 106 | + <div class="custom-control custom-switch"> |
| 107 | + <input type="checkbox" name="has_facebook_share_button" class="is-valid custom-control-input" id="id_has_facebook_share_button" |
| 108 | + {% if petition.has_facebook_share_button %} checked {% endif %}> |
| 109 | + <label class="custom-control-label" for="id_has_facebook_share_button">{% trans "Enable Facebook share button?" %}</label> |
| 110 | + </div> |
| 111 | + </div> |
| 112 | + </div> |
| 113 | + <div class="form-group row"> |
| 114 | + <label for="id_has_tumblr_share_button" class="col-sm-12 col-md-3 col-lg-2 col-form-label">{% trans "Enable Tumblr share button?" %}</label> |
| 115 | + <div class="col-sm-12 col-md-9 col-lg-10"> |
| 116 | + <div class="custom-control custom-switch"> |
| 117 | + <input type="checkbox" name="has_tumblr_share_button" class="is-valid custom-control-input" id="id_has_tumblr_share_button" |
| 118 | + {% if petition.has_tumblr_share_button %} checked {% endif %}> |
| 119 | + <label class="custom-control-label" for="id_has_tumblr_share_button">{% trans "Enable Tumblr share button?" %}</label> |
| 120 | + </div> |
| 121 | + </div> |
| 122 | + </div> |
| 123 | + <div class="form-group row"> |
| 124 | + <label for="id_has_linkedin_share_button" class="col-sm-12 col-md-3 col-lg-2 col-form-label">{% trans "Enable LinkedIn share button?" %}</label> |
| 125 | + <div class="col-sm-12 col-md-9 col-lg-10"> |
| 126 | + <div class="custom-control custom-switch"> |
| 127 | + <input type="checkbox" name="has_linkedin_share_button" class="is-valid custom-control-input" id="id_has_linkedin_share_button" |
| 128 | + {% if petition.has_linkedin_share_button %} checked {% endif %}> |
| 129 | + <label class="custom-control-label" for="id_has_linkedin_share_button">{% trans "Enable LinkedIn share button?" %}</label> |
| 130 | + </div> |
| 131 | + </div> |
| 132 | + </div> |
| 133 | + <div class="form-group row"> |
| 134 | + <label for="id_has_twitter_share_button" class="col-sm-12 col-md-3 col-lg-2 col-form-label">{% trans "Enable Twitter share button?" %}</label> |
| 135 | + <div class="col-sm-12 col-md-9 col-lg-10"> |
| 136 | + <div class="custom-control custom-switch"> |
| 137 | + <input type="checkbox" name="has_twitter_share_button" class="is-valid custom-control-input" id="id_has_twitter_share_button" |
| 138 | + {% if petition.has_twitter_share_button %} checked {% endif %}> |
| 139 | + <label class="custom-control-label" for="id_has_twitter_share_button">{% trans "Enable Twitter share button?" %}</label> |
| 140 | + </div> |
| 141 | + </div> |
| 142 | + </div> |
| 143 | + <div class="form-group row"> |
| 144 | + <label for="id_has_mastodon_share_button" class="col-sm-12 col-md-3 col-lg-2 col-form-label">{% trans "Enable Mastodon share button?" %}</label> |
| 145 | + <div class="col-sm-12 col-md-9 col-lg-10"> |
| 146 | + <div class="custom-control custom-switch"> |
| 147 | + <input type="checkbox" name="has_mastodon_share_button" class="is-valid custom-control-input" id="id_has_mastodon_share_button" |
| 148 | + {% if petition.has_mastodon_share_button %} checked {% endif %}> |
| 149 | + <label class="custom-control-label" for="id_has_mastodon_share_button">{% trans "Enable Mastodon share button?" %}</label> |
| 150 | + </div> |
| 151 | + </div> |
| 152 | + </div> |
| 153 | + <div class="form-group row"> |
| 154 | + <label for="id_has_whatsapp_share_button" class="col-sm-12 col-md-3 col-lg-2 col-form-label">{% trans "Enable Whatsapp share button?" %}</label> |
| 155 | + <div class="col-sm-12 col-md-9 col-lg-10"> |
| 156 | + <div class="custom-control custom-switch"> |
| 157 | + <input type="checkbox" name="has_whatsapp_share_button" class="is-valid custom-control-input" id="id_has_whatsapp_share_button" |
| 158 | + {% if petition.has_whatsapp_share_button %} checked {% endif %}> |
| 159 | + <label class="custom-control-label" for="id_has_whatsapp_share_button">{% trans "Enable Whatsapp share button?" %}</label> |
| 160 | + </div> |
| 161 | + </div> |
| 162 | + </div> |
103 | 163 | <div class="form-group row"> |
104 | 164 | <div class="input-group"> |
105 | 165 | <input type="checkbox" name="remove_twitter_image" id="remove_twitter_image" hidden> |
|
0 commit comments