forked from bofh/fetsite
started working on beispiel
This commit is contained in:
@@ -5,7 +5,14 @@
|
||||
<div class="span8">
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<%= f.file_field :beispieldatei, :label=>"Beispiel"%>
|
||||
<% unless @beispiel.beispieldatei.url.nil? %>
|
||||
Derzeitige Datei: <br>
|
||||
<b><%= @beispiel.beispieldatei.url.split("/").last %></b>
|
||||
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<%= f.input :beispieldatei, :as=>:file, :label => "Neue Datei hochladen:", :value=>@beispiel.beispieldatei.url%>
|
||||
</div>
|
||||
<%=f.input :datum , :as => :datetimepicker %>
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<div class="container">
|
||||
<%= semantic_form_for [@lva,@beispiel], :remote=>true, :html => { :multipart => true, :id => "fileupload" } do |f| %>
|
||||
<!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
|
||||
|
||||
<div class="row ">
|
||||
|
||||
<div class="span7">
|
||||
|
||||
Reference in New Issue
Block a user