|
255 | 255 | <div class="row"> |
256 | 256 | <% unless @feature.boolean_value %> |
257 | 257 | <div class="col d-grid"> |
258 | | - <button type="submit" name="action" value="Enable" class="btn btn-outline-success"> |
259 | | - <span class="d-block" data-bs-toggle="tooltip" |
260 | | - <% if Flipper::UI.configuration.confirm_fully_enable %> |
261 | | - data-confirmation-prompt="Are you sure you want to fully enable this feature for everyone? Please enter the name of the feature to confirm it: <%= feature_name %>" |
262 | | - data-confirmation-text="<%= feature_name %>" |
263 | | - <% end %> |
264 | | - title="Enable for everyone" |
265 | | - > |
| 258 | + <button type="submit" name="action" value="Enable" class="btn btn-outline-success" |
| 259 | + <% if Flipper::UI.configuration.confirm_fully_enable %> |
| 260 | + data-confirmation-prompt="Are you sure you want to fully enable this feature for everyone? Please enter the name of the feature to confirm it: <%= feature_name %>" |
| 261 | + data-confirmation-text="<%= feature_name %>" |
| 262 | + <% end %> |
| 263 | + > |
| 264 | + <span class="d-block" data-bs-toggle="tooltip" title="Enable for everyone"> |
266 | 265 | Fully Enable |
267 | 266 | </span> |
268 | 267 | </button> |
|
271 | 270 |
|
272 | 271 | <% unless @feature.off? %> |
273 | 272 | <div class="col d-grid"> |
274 | | - <button type="submit" name="action" value="Disable" class="btn btn-outline-danger"> |
275 | | - <span class="d-block" data-bs-toggle="tooltip" |
276 | | - <% if Flipper::UI.configuration.confirm_disable %> |
277 | | - data-confirmation-prompt="Are you sure you want to disable this feature for everyone? Please enter the name of the feature to confirm it: <%= feature_name %>" |
278 | | - data-confirmation-text="<%= feature_name %>" |
279 | | - <% end %> |
280 | | - title="Disable for everyone by clearing all percentages, groups and actors." |
281 | | - > |
| 273 | + <button type="submit" name="action" value="Disable" class="btn btn-outline-danger" |
| 274 | + <% if Flipper::UI.configuration.confirm_disable %> |
| 275 | + data-confirmation-prompt="Are you sure you want to disable this feature for everyone? Please enter the name of the feature to confirm it: <%= feature_name %>" |
| 276 | + data-confirmation-text="<%= feature_name %>" |
| 277 | + <% end %> |
| 278 | + > |
| 279 | + <span class="d-block" data-bs-toggle="tooltip" title="Disable for everyone by clearing all percentages, groups and actors."> |
282 | 280 | Disable |
283 | 281 | </span> |
284 | 282 | </button> |
|
0 commit comments