This might be off topic, not entirely sure. Basically I’ve created a
table to return data and it seems that the column headings repeat
along with the entries. So perhaps it’s where I’m placing the code and
not so much my HTML.
Ideas, solutions appreciated:
Current job openings
<% for position in @positions -%>Custom ID | Company | First entered | Started on | Post length | Days left | Category | City | State | PayType | Exp reqd |
---|---|---|---|---|---|---|---|---|---|---|
<%= position.company_job_id %> | <%= position.comapny_id %> | <%= position.entered_on_date.strftime("%m/%d/%Y") %> | <%= position.start_on_date.strftime("%m/%d/%Y") %> | <%= position.display_length %> | <%= position.days_left %> | <%= position.category_id %> | <%= position.city %> | <%= position.state.name %> | <%= position.ann_or_hrly %> | <%= position.exp_reqs_id %> |