Sha256: e0d095b8349986ac7afee19752186fb0a473a8fc8083035b9ebda08d26d52a33

Contents?: true

Size: 767 Bytes

Versions: 5

Compression:

Stored size: 767 Bytes

Contents

I18nRailsHelpers
================

[![Build Status](https://secure.travis-ci.org/huerlisi/i18n_rails_helpers.png)](http://travis-ci.org/huerlisi/i18n_rails_helpers)

Rails i18n view helpers for things like crud actions, models and and attributes.

Install
=======

In Rails simply add

    gem 'i18n_rails_helpers'

Example
=======

    t_attr('first_name')          # 'Vorname' # when called in patients_controller views
    t_model                       # 'Konto' # when called in patients_controller views
    t_title('delete')             # 'Konto löschen' # when called in accounts_controller views
    t_action('index')             # 'Liste'
    t_confirm_delete(@account)    # 'Konto Kasse wirklich löschen'

License
=======

Released under the MIT license.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
i18n_rails_helpers-2.0.1 README.md
i18n_rails_helpers-2.0.0 README.md
i18n_rails_helpers-2.0.0.beta2 README.md
i18n_rails_helpers-2.0.0.beta1 README.md
i18n_rails_helpers-2.0.0.beta0 README.md