0
我有一張搜索卡可以搜索某些配置文件。出於某種原因,卡片中顯示的參數如下所示: 顯示卡外的參數
即使我交換Major和Job類型的點,Major也會顯示在卡外。我正在使用物化框架。這個問題的原因是什麼?
我的代碼,以顯示這是:
<div class="col s12 m6 l3">
<div class="card">
<div class="card-content center">
<div style="margin-top: -20px; width: 113%; height: 40px; background-color: #0288d1;margin-left: -21px;">
<span class="card-title2">Advanced search</span>
</div>
<%= simple_form_for @search do |s| %>
<%= s.input :keyword, label: 'Name' %>
<label>College</label>
<%= s.select :college, options_for_select(@college), :include_blank => true %>
<%= s.input :min_gpa, label: "Minimum GPA" %>
<label>Major</label>
<%= s.select :major, options_for_select(@major), :include_blank => true %>
<label>Job type</label>
<%= s.select :level, options_for_select(@level), :include_blank => true %>
<%= s.button :submit, "Search" %>
<% end %>
</div>
</div>
</div>
它更改提交按鈕,不影響其他任何東西 – LizzyTheLearner