Sha256: e66aed12af9111b245a44d7eb20b7582e66613faa107a0a8e55ecf467650b491

Contents?: true

Size: 768 Bytes

Versions: 15

Compression:

Stored size: 768 Bytes

Contents

<%unless @artist.new_record?%>
  <div class="grid_3 tpush_2">
    <%= link_to "Novo trabalho", new_artist_work_path(@artist)%>
    <br />
    <br />
    <span>trabalhos</span>
      <%@artist.works.each do |work|%>
        <br />
        <%=link_to work.name, edit_artist_work_path(@artist, work)%>
      <% end %>
  </div>
<% end %>
  <div class="grid_13 tpush_2">
    <%=form_for @artist, :html => {:multipart => true} do |form|%>
      <%=form.label :name%>
      <%=form.text_field :name%>

      <%=form.label :lastname%>
      <%=form.text_field :lastname%>
      <%=form.submit%>
      <br />
      <br />

      <%= attachment_progress_container @artist%>
      <%= attachment_for_view @artist%>
      <%= attachment_for_video @artist%>
    <% end %>
  </div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
attachment_magick-0.3.6 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.3.5 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.3.4 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.3.3 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.3.2 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.3.1 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.3 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.2.7 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.2.6 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.2.5 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.2.4 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.2.3 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.2.2 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.2.1 test/dummy/app/views/artists/_form.html.erb
attachment_magick-0.2.0 test/dummy/app/views/artists/_form.html.erb