Created
December 2, 2014 15:46
-
-
Save seyyah/2d1df4735de8998015f1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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"), ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| = tb_table do | |
| = tb_thead do | |
| th Program | |
| th Dönem | |
| th Kod | |
| th İşlemler | |
| = tb_tbody @periods |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ayrıca: https://github.com/uzemdev/kuzi/commit/41b4cda37bc5f1218dd0a86cd412115a5c854048#commitcomment-8898286