Sha256: a8e79995aa6513829eb787a1bd9581d832e815117a366fbbaa37f328b7057208

Contents?: true

Size: 1.51 KB

Versions: 83

Compression:

Stored size: 1.51 KB

Contents

<div class='panel panel-default'>
  <div class="panel-heading">
    <h3 class="panel-title"><%= t('.serial_settings') %></h3>
  </div>
  <div class='panel-body'>
    <div class="form-group">
      <%= f.label :boud_rate, class: 'col-sm-2 control-label' %>
      <div class='col-sm-8'>
        <%= f.select :serial_boud_rate, Extface::SerialConfig::BOUD_RATES, { include_blank: true }, class: 'form-control' %>
      </div>
    </div>
    <div class="form-group">
      <%= f.label :data_length, class: 'col-sm-2 control-label' %>
      <div class='col-sm-8'>
        <%= f.select :serial_data_length, Extface::SerialConfig::DATA_LENGTHS, { include_blank: true }, class: 'form-control' %>
      </div>
    </div>
    <div class="form-group">
      <%= f.label :parity_check, class: 'col-sm-2 control-label' %>
      <div class='col-sm-8'>
        <%= f.select :serial_parity_check, Extface::SerialConfig::PARITY_CHECKS, { include_blank: true }, class: 'form-control' %>
      </div>
    </div>
    <div class="form-group">
      <%= f.label :stop_bits, class: 'col-sm-2 control-label' %>
      <div class='col-sm-8'>
        <%= f.select :serial_stop_bits, Extface::SerialConfig::STOP_BITS, { include_blank: true }, class: 'form-control' %>
      </div>
    </div>
    <div class="form-group">
      <%= f.label :handshake, class: 'col-sm-2 control-label' %>
      <div class='col-sm-8'>
        <%= f.select :serial_handshake, Extface::SerialConfig::HANDSHAKE, { include_blank: true }, class: 'form-control' %>
      </div>
    </div>
  </div>
</div>

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
extface-0.7.3 app/views/extface/serial_configs/_settings.html.erb
extface-0.7.2 app/views/extface/serial_configs/_settings.html.erb
extface-0.7.1 app/views/extface/serial_configs/_settings.html.erb
extface-0.7.0 app/views/extface/serial_configs/_settings.html.erb
extface-0.6.9 app/views/extface/serial_configs/_settings.html.erb
extface-0.6.8 app/views/extface/serial_configs/_settings.html.erb
extface-0.6.7 app/views/extface/serial_configs/_settings.html.erb
extface-0.6.6 app/views/extface/serial_configs/_settings.html.erb
extface-0.6.5 app/views/extface/serial_configs/_settings.html.erb
extface-0.6.4 app/views/extface/serial_configs/_settings.html.erb
extface-0.6.3 app/views/extface/serial_configs/_settings.html.erb
extface-0.6.2 app/views/extface/serial_configs/_settings.html.erb
extface-0.6.1 app/views/extface/serial_configs/_settings.html.erb
extface-0.6.0 app/views/extface/serial_configs/_settings.html.erb
extface-0.5.9 app/views/extface/serial_configs/_settings.html.erb
extface-0.5.8 app/views/extface/serial_configs/_settings.html.erb
extface-0.5.7 app/views/extface/serial_configs/_settings.html.erb
extface-0.5.6 app/views/extface/serial_configs/_settings.html.erb
extface-0.5.5 app/views/extface/serial_configs/_settings.html.erb
extface-0.5.4b app/views/extface/serial_configs/_settings.html.erb