]> git.openstreetmap.org Git - rails.git/commitdiff
* Put checkboxes before form labels in an attempt to make them align with the text.
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 22 Jun 2009 20:33:14 +0000 (20:33 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 22 Jun 2009 20:33:14 +0000 (20:33 +0000)
* Put a <br/> between the form and the submit button so they're not squashed together

app/views/oauth_clients/_form.html.erb
app/views/oauth_clients/new.html.erb

index 6f0af1e28d7e915b22ee263eb8e3bf670ddf562b..e55b016e982a2ce7e11eb28979c675160714996c 100644 (file)
        <%= f.text_field :support_url %>
 </div>
 <div class="field">
-  <label for="client_application_allow_read_prefs">Request permission to read the user preferences.</label><br/>
   <%= f.check_box :allow_read_prefs %>
+  <label for="client_application_allow_read_prefs">Request permission to read the user preferences.</label><br/>
 </div>
 <div class="field">
-  <label for="client_application_allow_write_prefs">Request permission to write the user preferences.</label><br/>
   <%= f.check_box :allow_write_prefs %>
+  <label for="client_application_allow_write_prefs">Request permission to write the user preferences.</label><br/>
 </div>
 <div class="field">
-  <label for="client_application_allow_write_diary">Request permission to create diary entries, comments and friends.</label><br/>
   <%= f.check_box :allow_write_diary %>
+  <label for="client_application_allow_write_diary">Request permission to create diary entries, comments and friends.</label><br/>
 </div>
 <div class="field">
-  <label for="client_application_allow_write_api">Request permission to write the API on the user's behalf.</label><br/>
   <%= f.check_box :allow_write_api %>
+  <label for="client_application_allow_write_api">Request permission to write the API on the user's behalf.</label><br/>
 </div>
 <div class="field">
-  <label for="client_application_allow_read_gpx">Request permission to read the user's private GPS traces.</label><br/>
   <%= f.check_box :allow_read_gpx %>
+  <label for="client_application_allow_read_gpx">Request permission to read the user's private GPS traces.</label><br/>
 </div>
 <div class="field">
-  <label for="client_application_allow_write_gpx">Request permission to upload GPS traces as the user.</label><br/>
   <%= f.check_box :allow_write_gpx %>
+  <label for="client_application_allow_write_gpx">Request permission to upload GPS traces as the user.</label><br/>
 </div>
index eccdc6c60f073bacfd51201c2700dc5ff52869cb..34b2d2b296ee7529d33223629492f3bfd71929db 100644 (file)
@@ -1,5 +1,6 @@
 <h1>Register a new application</h1>
 <% form_for :client_application, :url => { :action => :create } do |f| %>
    <%= render :partial => "form", :locals => { :f => f } %>
+   <br />
    <%= submit_tag "Register" %>
-<% end %>
\ No newline at end of file
+<% end %>