Project

General

Profile

Actions

Refactor #13360

open

Move interface checkboxes to a helper

Added by Stephen Benjamin over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Currently the interface checkboxes are individual checkbox_f calls which are quite big and contain a lot of duplicated html options. Additionally, remote execution adds an interface flag so we'd like to stay consistent with the appearance in foreman.

Something like:

<%= interface_flag :provision, _('The provision interface blah blah blah') %>

Would work nicely.

No data to display

Actions

Also available in: Atom PDF