summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/attachments/diff.html.erb16
-rw-r--r--app/views/attachments/file.html.erb4
2 files changed, 10 insertions, 10 deletions
diff --git a/app/views/attachments/diff.html.erb b/app/views/attachments/diff.html.erb
index 5f5f4d7eb..0bd802df2 100644
--- a/app/views/attachments/diff.html.erb
+++ b/app/views/attachments/diff.html.erb
@@ -1,10 +1,10 @@
<%= render :layout => 'layouts/file' do %>
-<%= form_tag({}, :method => 'get') do %>
- <p>
- <%= l(:label_view_diff) %>:
- <label><%= radio_button_tag 'type', 'inline', @diff_type != 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_inline) %></label>
- <label><%= radio_button_tag 'type', 'sbs', @diff_type == 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_side_by_side) %></label>
- </p>
-<% end %>
-<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => nil} %>
+ <%= form_tag({}, :method => 'get') do %>
+ <p>
+ <%= l(:label_view_diff) %>:
+ <label><%= radio_button_tag 'type', 'inline', @diff_type != 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_inline) %></label>
+ <label><%= radio_button_tag 'type', 'sbs', @diff_type == 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_side_by_side) %></label>
+ </p>
+ <% end %>
+ <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => nil} %>
<% end %>
diff --git a/app/views/attachments/file.html.erb b/app/views/attachments/file.html.erb
index e69124923..af5ea78dc 100644
--- a/app/views/attachments/file.html.erb
+++ b/app/views/attachments/file.html.erb
@@ -1,4 +1,4 @@
<%= render :layout => 'layouts/file' do %>
-&nbsp;
-<%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
+ &nbsp;
+ <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
<% end %>