# HG changeset patch # User Edho Arief # Date 1368294163 -32400 # Node ID 0993715b455d615986d6a77ad06bfa16412c4429 # Parent 186b4674bcbeef6137f1377ce1cfd547218af388 Add make private checkbox diff -r 186b4674bcbe -r 0993715b455d app/views/pastes/_form.html.erb --- a/app/views/pastes/_form.html.erb Sun May 12 02:41:35 2013 +0900 +++ b/app/views/pastes/_form.html.erb Sun May 12 02:42:43 2013 +0900 @@ -14,8 +14,20 @@
<%= f.text_area :paste, :class => 'span12', :rows => 10 %> - <%= f.text_field :key %> - <%= f.label :key, 'Deletion key' %> +
+
+ <%= f.label :key, "Deletion key", class: "control-label" %> +
+ <%= f.text_field :key %> +
+
+
+ <%= f.label :is_private, "Make private", class: "control-label" %> +
+ <%= f.check_box :is_private %> +
+
+