teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

変更

2021/10/27 06:56

投稿

rat_mouse
rat_mouse

スコア17

title CHANGED
File without changes
body CHANGED
@@ -169,31 +169,27 @@
169
169
  user/app/views/recruitments/index.html.slim
170
170
  ```ここに言語を入力
171
171
 
172
- .mainVisual_news
172
+ .pageBox.mb-5.mt-2
173
+ .row
173
- .pageBox_header
174
+ .pageBox.flex_blog
174
- h1 募集
175
- p recruitment
176
- section
177
- .container
178
- .card
179
- .card-header
180
- h5.card-title
181
- i.fa.fa-info-circle
182
- | 検索
183
-
184
- .card-body.p-3.text-right.ibox-content
185
- .no-padding.no-margins
186
- = search_form_for @q,
187
- html: { class: 'form-horizontal'},
188
- defaults: { required: false, input_html: { novalidate: true } } do |f|
189
-
190
- .row.no-padding.no-margins
191
- .col-md-4
175
+ .col-md-8
176
+ h1.wow.fadeIn.animated
177
+ - @recruitments.each do |recruitment|
192
- = f.input :target_cont, label: "募集対象",
178
+ - if recruitment.end_date > @current_time
179
+ h2.wow.fadeIn.animated
180
+ = recruitment.title
181
+
182
+ .archive-entries
183
+ .archive-entry-header
184
+ .archive-date
185
+ = recruitment.target
186
+ .archive-entry-body
187
+ .entry-description
193
- as: :select, placeholder: "募集対象を選択してください", collection: Recruitment.pluck(:target).uniq
188
+ = image_tag recruitment.top_image.attachment.service_url if recruitment.top_image.attached?
189
+ == recruitment.content
194
- .row.no-margins.pt-2
190
+ .social-area.mb-2
191
+
195
- .col-md-12.flex_right
192
+ .border_end
196
- = render 'shared/form_submit_search', models: @recruitments
197
193
 
198
194
  ```
199
195