@@ -15,7 +15,7 | |||||
15 | <br> |
|
15 | <br> | |
16 | <% links = [] |
|
16 | <% links = [] | |
17 | links << link_to(l(:label_register), :action => 'register') if Setting.self_registration? |
|
17 | links << link_to(l(:label_register), :action => 'register') if Setting.self_registration? | |
18 |
links << link_to(l(:label_password_lost), :action => 'password |
|
18 | links << link_to(l(:label_password_lost), :action => 'lost_password') if Setting.lost_password? | |
19 | %> |
|
19 | %> | |
20 | <%= links.join(" | ") %> |
|
20 | <%= links.join(" | ") %> | |
21 | </p> |
|
21 | </p> |
@@ -21,7 +21,7 | |||||
21 | <%= check_box_tag 'settings[self_registration]', 1, Setting.self_registration? %><%= hidden_field_tag 'settings[self_registration]', 0 %></p> |
|
21 | <%= check_box_tag 'settings[self_registration]', 1, Setting.self_registration? %><%= hidden_field_tag 'settings[self_registration]', 0 %></p> | |
22 |
|
22 | |||
23 | <p><label><%= l(:label_password_lost) %></label> |
|
23 | <p><label><%= l(:label_password_lost) %></label> | |
24 |
<%= check_box_tag 'settings[password |
|
24 | <%= check_box_tag 'settings[lost_password]', 1, Setting.lost_password? %><%= hidden_field_tag 'settings[lost_password]', 0 %></p> | |
25 |
|
25 | |||
26 | <p><label><%= l(:setting_attachment_max_size) %></label> |
|
26 | <p><label><%= l(:setting_attachment_max_size) %></label> | |
27 | <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p> |
|
27 | <%= text_field_tag 'settings[attachment_max_size]', Setting.attachment_max_size, :size => 6 %> KB</p> |
General Comments 0
You need to be logged in to leave comments.
Login now