# HG changeset patch # User nanaya # Date 1441481522 -32400 # Node ID e0626046579a878af8d9dd6b481eb1873ee3b31b # Parent a18e19139f57b4ab0818d10453490bcff9c05be6 Rearrange stuff. diff -r a18e19139f57 -r e0626046579a app/assets/stylesheets/application.scss --- a/app/assets/stylesheets/application.scss Sun Sep 06 04:20:50 2015 +0900 +++ b/app/assets/stylesheets/application.scss Sun Sep 06 04:32:02 2015 +0900 @@ -25,6 +25,10 @@ } } +.radio-container { + margin-top: -10px; +} + .zp-hl { background-color: #fff; padding: 0px; diff -r a18e19139f57 -r e0626046579a app/views/pastes/new.html.erb --- a/app/views/pastes/new.html.erb Sun Sep 06 04:20:50 2015 +0900 +++ b/app/views/pastes/new.html.erb Sun Sep 06 04:32:02 2015 +0900 @@ -12,37 +12,35 @@ <%= link_to t(".preview_md"), "#", :class => "btn btn-default js-paste-preview-md pull-right" %> + + +
+
+ <%= f.label :key, t(".deletion_key") %> + <%= f.text_field :key, :class => "form-control" %> +
-
-
- <%= f.label :key, t(".deletion_key"), :class => "col-sm-2 control-label" %> -
- <%= f.text_field :key, :class => "form-control" %> -
-
- -
- +
+ -
- <% paste_privacy_options.each do |label, value| %> -
- -
- <% end %> -
+
+ <% paste_privacy_options.each do |label, value| %> +
+ +
+ <% end %>
- -
- <%= f.button :class => "btn btn-primary" %> +
- <%= link_to t(".clear"), "#", :class => "btn btn-danger js-paste-clear" %> -
-
+
+ <%= f.button :class => "btn btn-primary" %> + + <%= link_to t(".clear"), "#", :class => "btn btn-danger js-paste-clear" %> +
<% end %>