summaryrefslogtreecommitdiffstats
path: root/app/views/settings/_attachments.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/settings/_attachments.html.erb')
-rw-r--r--app/views/settings/_attachments.html.erb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/settings/_attachments.html.erb b/app/views/settings/_attachments.html.erb
new file mode 100644
index 000000000..f8a85c748
--- /dev/null
+++ b/app/views/settings/_attachments.html.erb
@@ -0,0 +1,15 @@
+<%= form_tag({:action => 'edit', :tab => 'attachments'}) do %>
+
+<div class="box tabular settings">
+<p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
+
+<p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
+
+<p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p>
+
+<p><%= setting_text_field :repositories_encodings, :size => 60 %>
+<em class="info"><%= l(:text_comma_separated) %></em></p>
+</div>
+
+<%= submit_tag l(:button_save) %>
+<% end %>