]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/terms.html.erb
Prefer string interpolation to concatenation in erb files
[rails.git] / app / views / users / terms.html.erb
index bc8b86ef2256a269e25b0a6f8401fb419d3ea166..b3e42189be18ae6f6c155c85cd02a51bd4ce0c30 100644 (file)
@@ -23,7 +23,7 @@
       <div class="standard-form-row">
         <label for="legale_<%= legale %>">
           <%= radio_button_tag "legale", legale, @legale == legale, :data => { :url => url_for(:legale => legale) } %>
-          <%= t(".legale_names." + name) %>
+          <%= t(".legale_names.#{name}") %>
         </label>
       </div>
     <% end %>