spec/dummy/app/views/samples/new.html.erb in yorisoi-0.0.1 vs spec/dummy/app/views/samples/new.html.erb in yorisoi-0.0.2
- old
+ new
@@ -99,57 +99,6 @@
</div>
<ul class="form-button-area">
<li><%= f.submit :submit, class: [:button, :green] %></li>
</ul>
<% end %>
-</article>
-<article class="w400 floater">
- <h1>Default</h1>
- <%= form_for @sample, url: create_path, method: :post do |f| %>
- <div class="input-box p100">
- <section class="input-set">
- <label class="input-head">text</label>
- <div class="input-body p100">
- <%= f.text_field :text, class: [:p100] %>
- </div>
- </section>
- <section class="input-set">
- <label class="input-head">password</label>
- <div class="input-body p100">
- <%= f.password_field :password, class: [:p100] %>
- </div>
- </section>
- <section class="input-set">
- <label class="input-head">textarea</label>
- <div class="input-body p100">
- <%= f.text_area :textarea, class: [:p100] %>
- </div>
- </section>
- <section class="input-set">
- <label class="input-head">select</label>
- <div class="input-body p100">
- <%= f.select :select, Const::SELECT, {prompt: :select}, {class: [:p100]} %>
- </div>
- </section>
- <section class="input-set">
- <label class="input-head">collection<br>radio buttons</label>
- <div class="input-body p100 collection">
- <%#= f.radio_buttons :radio, {class: [:bigger]}, Const::RADIO.zip(Const::RADIO) %>
- <%= f.collection_radio_buttons :radio, Const::RADIO.zip(Const::RADIO), :last, :first, {}, class: [:bigger] do |b| %>
- <% b.label { b.radio_button + b.text } %>
- <% end %>
- </div>
- </section>
- <section class="input-set">
- <label class="input-head">collection<br>check boxes</label>
- <div class="input-body p100 collection">
- <%= f.collection_check_boxes :checkbox, Const::CHECKBOX.zip(Const::CHECKBOX), :last, :first, {}, class: [:bigger] do |b| %>
- <% b.label { b.check_box + b.text } %>
- <% end %>
- </div>
- </section>
- </div>
- <ul class="form-button-area">
- <li><%= f.submit :submit, class: [:button, :green] %></li>
- </ul>
- <% end %>
</article>
\ No newline at end of file