Sha256: 8509b721cb753bed6a0f60a70b176ec4695e97803438070c7055d5eeec7ce7c5

Contents?: true

Size: 557 Bytes

Versions: 16

Compression:

Stored size: 557 Bytes

Contents

module Gaku
  module StudentsHelper

    def surname_reading_label
      t(:phonetic_reading) + ' (' + t(:surname) + ')'
    end

    def name_reading_label
      t(:phonetic_reading) + ' (' + t(:name) + ')'
    end

    def surname_label
      t(:name) + ' (' + t(:surname) + ')'
    end

    def name_label
      t(:name) + ' (' + t(:name) + ')'
    end

    def guardian_icon
      content_tag :span, nil, class: 'glyphicon glyphicon-user'
    end

    def edit_button
      content_tag :span, nil, class: 'glyphicon glyphicon-pencil'
    end

  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gaku_frontend-0.3.0 app/helpers/gaku/students_helper.rb
gaku_frontend-0.3.0.pre.4 app/helpers/gaku/students_helper.rb
gaku_frontend-0.3.0.pre.3 app/helpers/gaku/students_helper.rb
gaku_frontend-0.3.0.pre.2 app/helpers/gaku/students_helper.rb
gaku_frontend-0.3.0.pre.1 app/helpers/gaku/students_helper.rb
gaku_frontend-0.3.0.pre.0 app/helpers/gaku/students_helper.rb
gaku-0.2.4 frontend/app/helpers/gaku/students_helper.rb
gaku_frontend-0.2.4 app/helpers/gaku/students_helper.rb
gaku-0.2.3 frontend/app/helpers/gaku/students_helper.rb
gaku_frontend-0.2.3 app/helpers/gaku/students_helper.rb
gaku-0.2.2 frontend/app/helpers/gaku/students_helper.rb
gaku_frontend-0.2.2 app/helpers/gaku/students_helper.rb
gaku-0.2.1 frontend/app/helpers/gaku/students_helper.rb
gaku_frontend-0.2.1 app/helpers/gaku/students_helper.rb
gaku-0.2.0 frontend/app/helpers/gaku/students_helper.rb
gaku_frontend-0.2.0 app/helpers/gaku/students_helper.rb