Skip to content

Commit

Permalink
fixed tabbed style
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleh committed Jan 31, 2014
1 parent f1bc2f0 commit 487007e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
.tab-content{ style: 'float:left' }
= form.fields_for field.translations_field do |localized_field|
- I18n.available_locales.each do |locale|
.fields.tab-pane{ style: 'padding:5px', id: "#{locale}_#{uuid}", class: ( 'active' if locale == I18n.locale ) }
.fields.tab-pane{ style: 'padding:5px; margin: 0;', id: "#{locale}_#{uuid}", class: ( 'active' if locale == I18n.locale ) }
= localized_field.send field_type, locale, html_attributes.reverse_merge({ :value => field.value.try(:[], locale.to_s) })

0 comments on commit 487007e

Please sign in to comment.