Skip to content

Instantly share code, notes, and snippets.

@seyyah
Created December 2, 2014 15:46
Show Gist options
  • Select an option

  • Save seyyah/2d1df4735de8998015f1 to your computer and use it in GitHub Desktop.

Select an option

Save seyyah/2d1df4735de8998015f1 to your computer and use it in GitHub Desktop.
td= truncate(period.program.name, length: 30)
td= truncate(period.name, length: 47)
td= period.code
td
- if can? :read, Student
= link_to "Öğrenciler", students_admin_period_path(period)
span |
= link_to (t "general.show"), [:admin, period]
- if can? :update, Period
span |
= link_to (t "general.edit"), edit_admin_period_path(period)
- if can? :destroy, Period
span |
= link_to (t "general.destroy"), ...
= tb_table do
= tb_thead do
th Program
th Dönem
th Kod
th İşlemler
= tb_tbody @periods
@seyyah
Copy link
Author

seyyah commented Dec 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment