erblint: use parentheses for nested function calls
This commit is contained in:
parent
40141993f7
commit
ecd81eadbe
10 changed files with 10 additions and 12 deletions
|
@ -26,7 +26,7 @@
|
|||
<%= f.email_field(:email_confirmation, :tabindex => 2) %>
|
||||
<%= f.error_message_on(:email_confirmation) %>
|
||||
</div>
|
||||
<span class="form-help deemphasize"><%= raw(t ".not displayed publicly") %></span>
|
||||
<span class="form-help deemphasize"><%= raw(t(".not displayed publicly")) %></span>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
|
|
|
@ -179,7 +179,7 @@
|
|||
<% if current_user and @user.id == current_user.id %>
|
||||
<% if @user.home_lat.nil? or @user.home_lon.nil? %>
|
||||
<div id="map" class="content_map">
|
||||
<p id="no_home_location"><%= raw(t ".if set location", :settings_link => (link_to t(".settings_link_text"), :controller => "users", :action => "account", :display_name => current_user.display_name)) %></p>
|
||||
<p id="no_home_location"><%= raw(t(".if set location", :settings_link => (link_to t(".settings_link_text"), :controller => "users", :action => "account", :display_name => current_user.display_name))) %></p>
|
||||
</div>
|
||||
<% else %>
|
||||
<% content_for :head do %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue