SelfClosingTag:
enabled: false
SpaceInHtmlTag:
- enabled: false # TODO
+ enabled: true
Rubocop:
enabled: true
rubocop_config:
<form action="#">
<textarea class="comment" name="text" cols="40" rows="5"></textarea>
<div class="buttons clearfix">
- <input type="submit" name="comment" value="<%= t("javascripts.changesets.show.comment") %>" data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1"/>
+ <input type="submit" name="comment" value="<%= t("javascripts.changesets.show.comment") %>" data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1" />
</div>
</form>
<% else %>
<div class="details" data-coordinates="<%= @note.lat %>,<%= @note.lon %>" data-status="<%= @note.status %>">
<%= note_event("open", @note.created_at, @note.author) %>
<% if @note.status == "closed" %>
- <br/>
+ <br />
<%= note_event(@note.status, @note.closed_at, @note_comments.last.author) %>
<% end %>
</div>
<% content_for :heading do %>
- <div <% if @user %> id="userinformation"<% end %> >
+ <div <% if @user %> id="userinformation"<% end %>>
<% if @user %>
<%= user_image @user %>
<% end %>
<% content_for :heading do %>
- <div id="userinformation" >
+ <div id="userinformation">
<%= user_image @entry.user %>
<h2><%= link_to t(".user_title", :user => h(@entry.user.display_name)), :action => :index %></h2>
<p><%= rss_link_to :action => :rss, :display_name => @entry.user.display_name %></p>
<div style="float:left">
<%= link_to user_thumbnail(comment.user), user_path(comment.user) %>
</div>
- <b> <%= link_to comment.user.display_name, user_path(comment.user) %> </b> <br/>
+ <b> <%= link_to comment.user.display_name, user_path(comment.user) %> </b> <br />
<%= comment.body %>
</div>
<span class="deemphasize">
<hr>
<% end %>
</div>
-<br/>
+<br />
<div class="comment">
<%= form_for @new_comment, :url => issue_comments_path(@issue) do |f| %>
<%= richtext_area :issue_comment, :body, :cols => 10, :rows => 8, :required => true %>
<%= label_tag :reassign, t(".reassign_param") %> <%= check_box_tag :reassign, true %>
- <br/>
- <br/>
+ <br />
+ <br />
<%= submit_tag "Submit" %>
<% end %>
</div>
<%= link_to user_thumbnail(report.user), user_path(report.user) %>
</div>
<%= t ".reported_by_html", :category => report.category, :user => link_to(report.user.display_name, user_path(report.user)) %>
- <br/>
+ <br />
<span class="deemphasize">
<%= t(".updated_at", :datetime => l(report.updated_at.to_datetime, :format => :friendly)) %>
</span>
- <br/>
+ <br />
<%= report.details %>
- <br/>
+ <br />
</div>
<hr>
<% end %>
<%= select_tag :last_updated_by, options_for_select(@users.all.collect { |f| [f.display_name, f.id] } << [t(".not_updated"), "nil"], params[:last_updated_by]), :include_blank => t(".select_last_updated_by"), :data => { :behavior => "category_dropdown" } %>
<%= submit_tag t(".search"), :name => nil %>
<% end %>
-<br/>
+<br />
<% if @issues.length == 0 %>
<p><%= t ".issues_not_found" %></p>
<% end %>
-<br/>
+<br />
<table class="issues-list">
<thead>
<%= render "reports", :reports => @unread_reports %>
</div>
<% end %>
- <br/>
+ <br />
</div>
<% if @issue.reported_user %>
<%= content_tag :head, :data => application_data do %>
- <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
- <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
<%= javascript_include_tag "html5shiv" unless browser.html5? %>
<%= javascript_include_tag "es5" unless browser.es5? %>
<%= javascript_include_tag "es6" unless browser.es6? %>
<% Report.categories_for(@report.issue.reportable).each do |c| %>
<li>
<%= radio_button :report, :category, c, :required => true %>
- <%= label_tag "report_category_#{c}", t(".categories.#{@report.issue.reportable.class.name.underscore}.#{c}_label") %> <br/>
+ <%= label_tag "report_category_#{c}", t(".categories.#{@report.issue.reportable.class.name.underscore}.#{c}_label") %> <br />
</li>
<% end %>
</ul>
<div class='export_area_inputs'>
<div class='export_boxy'>
<%= text_field_tag("maxlat", nil, :size => 10, :class => "export_bound") %>
- <br/>
+ <br />
<%= text_field_tag("minlon", nil, :size => 10, :class => "export_bound") %>
<%= text_field_tag("maxlon", nil, :size => 10, :class => "export_bound") %>
- <br/><br/>
+ <br /><br />
<%= text_field_tag("minlat", nil, :size => 10, :class => "export_bound") %>
</div>
<a id='drag_box' href="#"><%= t ".manually_select" %></a>
<fieldset class="form-divider">
<div class='form-row location clearfix'>
<label class="standard-label"><%= t ".home location" %></label>
- <div id="homerow" <% unless current_user.home_lat and current_user.home_lon %>class="nohome"<% end %> >
+ <div id="homerow" <% unless current_user.home_lat and current_user.home_lon %> class="nohome"<% end %>>
<p class="message form-help deemphasize"><%= t ".no home location" %></p>
<div class='form-column'>
<label class="standard-label secondary"><%= t ".latitude" %></label>