Skip to content

Instantly share code, notes, and snippets.

@Nursultan91
Created May 18, 2017 12:38
Show Gist options
  • Save Nursultan91/888a2b792070434b1eaf4eb7594ef0ef to your computer and use it in GitHub Desktop.
Save Nursultan91/888a2b792070434b1eaf4eb7594ef0ef to your computer and use it in GitHub Desktop.
<div class="card-action grey-text text-darken-4">
<form action="#">
<div class="file-field input-field">
<div class="btn">
<span>Сдать отчет</span>
<input type="file" multiple>
</div>
<div class="file-path-wrapper">
<%= form_tag.file_field :reports, :class=>"file-path validate", :placeholder => "Загрузите один или более файлов", multiple: true %>
</div>
</div>
</form>
<h5><%= @task.title %></h5>
<hr>
<%= markdown(@task.note) %>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment