Sha256: a9e93527dfe4bc3026624639d76b9f65d490ad22a6d56332a3c4e7de98436410
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
= form_tag commands_path, method: 'POST', class: 'form-horizontal' do = hidden_field_tag :redirect_to, request.fullpath .form-group = label_tag :image, 'Image', class: 'col-sm-3 control-label' .col-sm-9 = text_field_tag :image, Rhea.configuration.default_image, class: 'form-control', style: 'width: 100%;', placeholder: Rhea.configuration.default_image .form-group = label_tag :command_type_key, 'Type', class: 'col-sm-3 control-label' .col-sm-9 = select_tag :command_type_key, options_for_select(Rhea::CommandType.options_for_select, Rhea.configuration.default_command_type_key), class: 'form-control', style: 'width: 90px;', required: 'required' .form-group = label_tag :command_type_input, 'Input', class: 'col-sm-3 control-label' .col-sm-9 = text_field_tag :command_type_input, nil, class: 'form-control', style: 'width: 100%;' .form-group = label_tag :process_count, 'Processes', class: 'col-sm-3 control-label' .col-sm-9 = text_field_tag :process_count, 1, class: 'form-control', style: 'width: 50px;', placeholder: 1 .form-group .col-sm-3 .col-sm-9 = submit_tag 'Create', class: 'btn btn-default'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rhea-0.1.0 | app/views/rhea/commands/_form.html.haml |