This commit is contained in:
Igor Zubkov 2011-12-22 23:32:59 +02:00
parent 111d0c0f41
commit 10f99f776c
4 changed files with 4 additions and 7 deletions

View File

@ -1,2 +1 @@
<p><%= label_tag 'user[landing_page]', l(:label_landing_page) %>
<%= text_field_tag 'user[landing_page]', user.landing_page, :size => 40, :style => 'width: 90%', :placeholder => 'http://localhost/projects/demo/wiki/Wiki' %></p>
<p><%= form.text_field :landing_page, :style => 'width: 90%', :placeholder => 'http://localhost/projects/demo/wiki/Wiki' %></p>

View File

@ -1,2 +1 @@
<p><%= label_tag 'project[landing_page]', l(:label_landing_page) %>
<%= text_field_tag 'project[landing_page]', project.landing_page, :size => 60, :placeholder => 'http://localhost/projects/demo/wiki/Wiki' %></p>
<p><%= form.text_field :landing_page, :size => 60, :placeholder => 'http://localhost/projects/demo/wiki/Wiki' %></p>

View File

@ -1,2 +1 @@
<p><%= label_tag 'user[landing_page]', l(:label_landing_page) %>
<%= text_field_tag 'user[landing_page]', user.landing_page, :style => 'width: 90%', :placeholder => 'http://localhost/projects/demo/wiki/Wiki' %></p>
<p><%= form.text_field :landing_page, :style => 'width: 90%', :placeholder => 'http://localhost/projects/demo/wiki/Wiki' %></p>

View File

@ -1,3 +1,3 @@
# English strings go here for Rails i18n
en:
label_landing_page: "Landing Page"
field_landing_page: "Landing Page"