* Put checkboxes before form labels in an attempt to make them align with the text.
* Put a <br/> between the form and the submit button so they're not squashed together
This commit is contained in:
parent
0f0123c565
commit
340d5c05cf
2 changed files with 8 additions and 7 deletions
|
@ -15,26 +15,26 @@
|
|||
<%= 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>
|
||||
|
|
|
@ -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 %>
|
Loading…
Add table
Add a link
Reference in a new issue