OSDN Git Service

Rename "Website url" labels to "Website"
authorJerome Dalbert <jerome@rentify.com>
Mon, 20 Jan 2014 13:05:19 +0000 (13:05 +0000)
committerJerome Dalbert <jerome@rentify.com>
Mon, 20 Jan 2014 13:05:19 +0000 (13:05 +0000)
app/views/admin/users/_form.html.haml
app/views/profiles/show.html.haml
app/views/users/_profile.html.haml

index ebc68e2..881a043 100644 (file)
@@ -81,7 +81,7 @@
         = f.label :twitter, class: 'control-label'
         .col-sm-10= f.text_field :twitter, class: 'form-control'
       .form-group
-        = f.label :website_url, class: 'control-label'
+        = f.label :website_url, 'Website', class: 'control-label'
         .col-sm-10= f.text_field :website_url, class: 'form-control'
 
     .form-actions
index f1ccc00..523a07d 100644 (file)
@@ -47,7 +47,7 @@
         = f.label :twitter, class: "control-label"
         .col-sm-10= f.text_field :twitter, class: "form-control"
       .form-group
-        = f.label :website_url, class: "control-label"
+        = f.label :website_url, 'Website', class: "control-label"
         .col-sm-10= f.text_field :website_url, class: "form-control"
       .form-group
         = f.label :bio, class: "control-label"
index 30a86ba..7ffd43e 100644 (file)
@@ -19,7 +19,7 @@
         %strong= link_to user.twitter, "http://www.twitter.com/#{user.twitter}"
     - unless user.website_url.blank?
       %li
-        %span.light Website url:
+        %span.light Website:
         %strong= link_to user.short_website_url, user.full_website_url
     - unless user.bio.blank?
       %li