app/views/interpreter/translations/_form.html.haml in interpreter-0.0.4 vs app/views/interpreter/translations/_form.html.haml in interpreter-0.0.5

- old
+ new

@@ -1,16 +1,13 @@ = form_for @translation do |f| = render :partial => 'errors', :locals => {:object => @translation} .field - = f.label :locale - %br - = f.text_field :locale - .field = f.label :key %br = f.text_field :key - .field - = f.label :value - %br - = f.text_field :value + - InterpreterTranslation.available_locales.each do |locale| + .field + = f.label locale + %br + = f.text_field locale .actions = f.submit "Save"