From: Ævar Arnfjörð Bjarmason Date: Mon, 22 Jun 2009 20:33:14 +0000 (+0000) Subject: * Put checkboxes before form labels in an attempt to make them align with the text. X-Git-Tag: live~7068 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/340d5c05cf49b7bc743eb959c637a42bc258e2d8?ds=sidebyside * 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 --- 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 %>