app/views/extface/devices/form.html.erb in extface-0.5.5 vs app/views/extface/devices/form.html.erb in extface-0.5.6

- old
+ new

@@ -15,9 +15,15 @@ </div> <br /> <%= render 'object_errors', object: f.object %> <%= form_group f, :name, :text_field %> + <div class='form-group'> + <%= f.label(:encoding, class: 'col-sm-2 control-label') %> + <div class='col-sm-6 col-md-4'> + <%= f.select :encoding, Encoding.aliases.collect{ |k,v| ["#{v} (#{k})", k]}.sort, { include_blank: true }, class: "form-control" %> + </div> + </div> <div class="form-group"> <%= f.label :driver, class: 'col-sm-2 control-label' %> <div class='col-sm-10 col-md-8'> <% unless @device.driver.blank? || params[:driver_change] %> \ No newline at end of file