Sha256: 11f5e8842d2b7e04117dc79ca385f5c583394805b0b20b2714874203dfa79b04

Contents?: true

Size: 749 Bytes

Versions: 6

Compression:

Stored size: 749 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 address_icon
      content_tag :i, nil, class: 'icon-globe'
    end

    def contact_icon
      content_tag :i, nil, class: 'icon-envelope'
    end

    def guardian_icon
      content_tag :i, nil, class: 'icon-user'
    end

    def edit_button
      content_tag :i, nil, class: 'icon-white icon-pencil'
    end

    def ok_icon
      content_tag :i, nil, class: 'icon-white icon-ok'
    end

  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/helpers/gaku/students_helper.rb
gaku-0.0.3 core/app/helpers/gaku/students_helper.rb
gaku-0.0.2 core/app/helpers/gaku/students_helper.rb
gaku_core-0.0.2 app/helpers/gaku/students_helper.rb
gaku-0.0.1 core/app/helpers/gaku/students_helper.rb
gaku_core-0.0.1 app/helpers/gaku/students_helper.rb