edit exchange fixed

This commit is contained in:
Harry Bomrah 2018-01-18 14:58:02 +08:00
parent 04b2af9e20
commit 6e77ef684d
4 changed files with 11 additions and 1 deletions

View File

@ -98,7 +98,7 @@
<div class="form-group">
<%= f.label :min_credit_score, t("recruitment.min_credit_score"), :class => "col-sm-2 control-label" %>
<div class="col-sm-1">
<%= f.number_field :min_credit_score, :class => "form-control", :max => 36, :min => 1 %>
<%= f.number_field :min_credit_score, :class => "form-control", :max => 500, :min => 1 %>
</div>
</div>

View File

@ -0,0 +1,8 @@
<div id="dashboard-wrapper">
<%= render :partial => "dashboard_header" %>
<h3 class="header-title"><%= t("recruitment.edit_exchange") %></h3>
<hr>
<%= form_for @job, url: "/recruit/#{@job.id.to_s}/updatejob", html: {:class => "form-horizontal main-forms"} do |f| %>
<%= render :partial => "exchange_form", locals: {f: f} %>
<% end %>
</div>

View File

@ -2,6 +2,7 @@ en:
module_name:
recruitment: Recruitment
recruitment:
edit_exchange: Edit Exchange
show_jobs: Show Jobs
number_of_positions_filled: Number of position filled
number_of_registered_users: Number of registered users

View File

@ -2,6 +2,7 @@ zh_tw:
module_name:
recruitment: 招募
recruitment:
edit_exchange: Edit Exchange
show_jobs: Show Jobs
number_of_positions_filled: Number of position filled
number_of_registered_users: Number of registered users