Sha256: b54c91c01867eade48647f51439017f8f59164b2e6a2ddbef33001ba4f049945

Contents?: true

Size: 427 Bytes

Versions: 4

Compression:

Stored size: 427 Bytes

Contents

<% if visible?(record, attribute) && record.in_any_locale?(attribute) %>
<div class="row translation">
  <div class="col-sm-2">
    <h2><%= record.class.human_attribute_name(attribute) %></h2>
  </div>
<% record.class.globalize_locales.each do |locale| %>
  <div class="col-sm-5">
    <h3><%= _(locale) %></h3>
    <%= record.send(record.class.localized_attr_name_for(attribute, locale)) %>
  </div>
<% end %>
</div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.4 app/views/citizen_budget_model/shared/_translated_field.html.erb
citizen_budget_model-0.0.3 app/views/citizen_budget_model/shared/_translated_field.html.erb
citizen_budget_model-0.0.2 app/views/citizen_budget_model/shared/_translated_field.html.erb
citizen_budget_model-0.0.1 app/views/citizen_budget_model/shared/_translated_field.html.erb