Sha256: 1a21796f45d3efe7ee59898ebecc705297d1d68fbe8beba81a0af1c67f804d56
Contents?: true
Size: 1.03 KB
Versions: 25
Compression:
Stored size: 1.03 KB
Contents
<%= simple_form_for([:user, job]) do |f| %> <div class="row"> <div class="small-12 medium-8 large-8 columns"> <%= f.input :title %> <%= f.input :state_id, as: :select, collection: options_for_states, input_html: { 'data-filter-select' => '{"target": "#job_city_id", "filterParam":"state_id", "filter": "city"}' } %> <%= f.association :city, collection: options_for_cities(job.state_id) %> <%= f.input :description, as: :text, input_html: { rows: 5 }, hint: t('.markdown_hint').html_safe %> <%= f.input :how_to_apply, as: :text, input_html: { rows: 5 }, hint: t('.markdown_hint').html_safe %> </div> <div class="small-12 medium-4 large-4 columns"> <h2><%= t('.tags') %></h2> <% tags.each do |tag| %> <div> <%= check_box_tag 'job[tag_ids][]', tag.id, job.tag_ids.include?(tag.id), id: "tag_#{tag.id}" %> <%= label_tag("tag_#{tag.id}", tag.name) %> </div> <% end %> </div> </div> <%= render 'form_actions' %> <% end %>
Version data entries
25 entries across 25 versions & 1 rubygems