From 340d5c05cf49b7bc743eb959c637a42bc258e2d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 22 Jun 2009 20:33:14 +0000 Subject: [PATCH] * Put checkboxes before form labels in an attempt to make them align with the text. * Put a
between the form and the submit button so they're not squashed together --- app/views/oauth_clients/_form.html.erb | 12 ++++++------ app/views/oauth_clients/new.html.erb | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/views/oauth_clients/_form.html.erb b/app/views/oauth_clients/_form.html.erb index 6f0af1e28..e55b016e9 100644 --- a/app/views/oauth_clients/_form.html.erb +++ b/app/views/oauth_clients/_form.html.erb @@ -15,26 +15,26 @@ <%= f.text_field :support_url %>
-
<%= f.check_box :allow_read_prefs %> +
-
<%= f.check_box :allow_write_prefs %> +
-
<%= f.check_box :allow_write_diary %> +
-
<%= f.check_box :allow_write_api %> +
-
<%= f.check_box :allow_read_gpx %> +
-
<%= f.check_box :allow_write_gpx %> +
diff --git a/app/views/oauth_clients/new.html.erb b/app/views/oauth_clients/new.html.erb index eccdc6c60..34b2d2b29 100644 --- a/app/views/oauth_clients/new.html.erb +++ b/app/views/oauth_clients/new.html.erb @@ -1,5 +1,6 @@

Register a new application

<% form_for :client_application, :url => { :action => :create } do |f| %> <%= render :partial => "form", :locals => { :f => f } %> +
<%= submit_tag "Register" %> -<% end %> \ No newline at end of file +<% end %> -- 2.43.2