Skip to content

Commit

Permalink
rename colums
Browse files Browse the repository at this point in the history
  • Loading branch information
openscript committed Jul 24, 2024
1 parent 989b4c0 commit 8fde5fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/course_compensation_rates/_list.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
= crud_table do |t|
- t.sortable_attrs :valid_from, :valid_to
- t.col(t.sort_header(CourseCompensationCategory.human_attribute_name(:short_name))) { |entry| entry.course_compensation_category.short_name }
- t.col(t.sort_header(CourseCompensationCategory.human_attribute_name(:kind))) { |entry| entry.course_compensation_category.kind_label }
- t.col(CourseCompensationCategory.human_attribute_name(:description)) { |entry| entry.course_compensation_category.description }
- t.col("#{CourseCompensationCategory.human_attribute_name(:short_name)} #{CourseCompensationCategory.model_name.human}") { |entry| entry.course_compensation_category.short_name }
- t.col("#{CourseCompensationCategory.human_attribute_name(:kind)} #{CourseCompensationCategory.model_name.human}") { |entry| entry.course_compensation_category.kind_label }
- t.col("#{CourseCompensationCategory.human_attribute_name(:description)} #{CourseCompensationCategory.model_name.human}") { |entry| entry.course_compensation_category.description }
- t.col(CourseCompensationCategory.human_attribute_name(:name_leader)) { |entry| entry.course_compensation_category.name_leader }
- t.col(CourseCompensationCategory.human_attribute_name(:name_assistant_leader)) { |entry| entry.course_compensation_category.name_assistant_leader }
- t.sortable_attrs :rate_leader, :rate_assistant_leader
Expand Down

0 comments on commit 8fde5fa

Please sign in to comment.