|
1 | 1 | <h2>Products picture</h2>
|
2 | 2 | <%= form_for ProductPicture.new, :html => { :multipart => true, :id => "fileupload" } do |f| %>
|
3 | 3 | <div class="row">
|
4 |
| - <div class="span16 fileupload-buttonbar"> |
5 |
| - <div class="progressbar fileupload-progressbar nofade"><div style="width:0%;"></div></div> |
6 |
| - <span class="btn success fileinput-button"> |
7 |
| - <span><%= t('pictures.add_files') %>...</span> |
8 |
| - <%= f.text_field :title %> |
9 |
| - <%= f.text_area :description %> |
10 |
| - <%= f.file_field :picture %> |
11 |
| - </span> |
12 |
| - <button type="submit" class="btn primary start"><%= t('pictures.start_upload') %></button> |
13 |
| - <button type="reset" class="btn info cancel"><%= t('pictures.cancel_upload') %></button> |
14 |
| - <button type="button" class="btn danger delete"><%= t('pictures.delete_selected') %></button> |
15 |
| - <input type="checkbox" class="toggle"> |
16 |
| - </div> |
| 4 | + <%= f.label :title %><br /> |
| 5 | + <%= f.text_field :title %> |
| 6 | + </div> |
| 7 | + <div class="row"> |
| 8 | + <%= f.label :description %><br /> |
| 9 | + <%= f.text_area :description, :rows => 5 %> |
| 10 | + </div> |
| 11 | + <div class="row"> |
| 12 | + <span><%= t('pictures.add_files') %>...</span> |
| 13 | + <%= f.file_field :picture %> |
| 14 | + </div> |
| 15 | + <br> |
| 16 | + <div class="row"> |
| 17 | + <button type="submit" class="btn primary start"><%= t('pictures.start_upload') %></button> |
| 18 | + <button type="reset" class="btn info cancel"><%= t('pictures.cancel_upload') %></button> |
| 19 | + <button type="button" class="btn danger delete"><%= t('pictures.delete_selected') %></button> |
| 20 | + <input type="checkbox" class="toggle"> |
17 | 21 | </div>
|
18 | 22 | <br>
|
19 | 23 | <div class="row">
|
20 |
| - <div class="span16"> |
21 |
| - <table class="zebra-striped"><tbody class="files"></tbody></table> |
22 |
| - <div id="loading"> </div> |
23 |
| - </div> |
| 24 | + <table class="zebra-striped"><tbody class="files"></tbody></table> |
| 25 | + <div id="loading"> </div> |
24 | 26 | </div>
|
25 | 27 | <% end %>
|
26 | 28 | <script>
|
|
0 commit comments