Sha256: ea1a2582e3c0643efb137baef71f5dc363ec15ae0b5f999d31db544441dddf12

Contents?: true

Size: 832 Bytes

Versions: 11

Compression:

Stored size: 832 Bytes

Contents

#
# Controls are used to input data from the user
# before installing a stack.
#
# Considering a stack can be rendered in multiple
# different interfaces (like HTML, a command line app,
# a desktop app), we have standarized the control
# types:
#
# Textbox     - a free form text field
# Numericbox  - similar to Textbox but only numeric values
#               are accepted
# Password    - text field without echo
# Checkbox    - a "on/off" flag
# Combobox    - multiple choices, on a drop down
# Radio       - multiple choices, on radio buttons
#
# Example of expected contents for this file:
#
# controls: 
# - name: my_config
#   label: My Config
#   type: Textbox
#

controls:
<% controls.try(:each) do |ctrl| %>
- name: <%= ctrl.first %>
  label: <%= ctrl.first.titleize %>
  type: <%= ctrl.last.classify.titleize %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
stackfu-0.1.8.1 templates/01-controls.yml.erb
stackfu-0.1.8 templates/01-controls.yml.erb
stackfu-0.1.7 templates/01-controls.yml.erb
stackfu-0.1.6 templates/01-controls.yml.erb
stackfu-0.1.5 templates/01-controls.yml.erb
stackfu-0.1.4 templates/01-controls.yml.erb
stackfu-0.1.3 templates/01-controls.yml.erb
stackfu-0.1.2.2 templates/01-controls.yml.erb
stackfu-0.1.2.1 templates/01-controls.yml.erb
stackfu-0.1.1 templates/01-controls.yml.erb
stackfu-0.1.0 templates/01-controls.yml.erb