History page
create history_page
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
-
app/models/history.rb 0 → 100644
1 class History < ApplicationRecord 2 belongs_to :user 3 belongs_to :job 4 5 scope :new_list_history, ->(num) { order(id: :desc).limit(num)} -
Master
yes i'm fix now . tks so much
-
-
21 25 <!--end set --> 22 26 <!--set field all --> 23 <%= form_for(@user_apply, url: new_info_path) do |f| %> 24 <%= render 'shared/error_user_apply'%> 25 <div class="row mt-3"> 26 <!--set field password --> 27 <div class="col-md-2 mb-5"> 28 <strong><i class="text-danger"><%= f.label :name, "Full Name", class: 'form-label' %></i></strong> 29 </div> 30 <!--set field password --> 31 <div class="col-md-10"> 32 <div class="input-group"> 33 <span class="input-group-addon"><i class="fa fa-user fa" aria-hidden="true"></i></span> 34 <%= f.text_field :name, class: 'form-control' %> 27 <%= form_for(@user_apply, url: new_info_path) do |f| %> 28 <%= render 'shared/error_user_apply'%> -
Master
yes i fixed
-
-
app/views/top_pages/_history.html.erb 0 → 100644
8 <%= radio_button_tag 'job_history_id', history.job.id %> 9 </div> 10 11 <div class="col-11" > 12 <%= link_to history.job.job_title,job_detail_path(history.job.id),class: 'search_list_jobs_title' %> 13 <% unless history.job.short_description.nil? %> 14 <li class="detail_description"> 15 <%= truncate history.job.short_description,length: 250 %> 16 <%= link_to 'read more',job_detail_path(history.job.id)%></li> 17 </li> 18 <% end %> 19 <div class="row ml-0"> 20 <li class="detail_description col-md-5"> 21 <%= history.job.cities.map(&:location).join(',') %> 22 </li> 23 <% unless history.job.salary.nil? %> -
3 3 <div class="search_list titlejob col-md-10"> 4 4 5 5 <%= link_to apply.job.job_title,job_detail_path(apply.job.id),class: 'search_list_jobs_title' %> 6 <% unless apply.job.short_description.nil? %> 6 <% if apply.job.short_description.present? %> 7 <%= binding.pry %> -
Master
yes i remove now
-
-
3 3 <div class="search_list titlejob col-md-10"> 4 4 5 5 <%= link_to apply.job.job_title,job_detail_path(apply.job.id),class: 'search_list_jobs_title' %> 6 <% unless apply.job.short_description.nil? %> 6 <% if apply.job.short_description.present? %> 7 <%= binding.pry %> -
please remove debug code
-
Master
yes i remote now
-
-
-
-
merged
Toggle commit list