Sha256: af659bf9860a6860e1c0a6ce02f0ef0528da0c6d4878aedf6231c092a95c71f9
Contents?: true
Size: 824 Bytes
Versions: 40
Compression:
Stored size: 824 Bytes
Contents
<%= form_for(@auth_work_instruction, as: "instruction", url: @auth_work_instruction.new_record? ? instructions_path : instruction_path(:id => @auth_work_instruction.id), method: @auth_work_instruction.new_record? ? :post : :put) do |f| %> <div class="form_fields"> <%= f.text_field :title %> <%= f.label :title %> <%= hidden_field_tag :product_id, @auth_shopping_product.id.to_s %> <% if @auth_work_instruction.new_record? %> <h6>In order to upload images / videos you need to first save this record</h6> <% else %> <% @model = @auth_work_instruction %> <%= render :partial => "auth/images/image_concern.html.erb" %> <% end %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
40 entries across 40 versions & 1 rubygems