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

Version Path
wordjelly-auth-1.6.0 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.5.9 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.5.8 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.5.7 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.5.6 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.5.5 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.5.4 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.5.3 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.5.2 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.5.1 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.5.0 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.4.9 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.4.8 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.4.7 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.4.6 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.4.5 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.4.4 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.4.3 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.4.2 app/views/auth/work/instructions/_form.html.erb
wordjelly-auth-1.4.0 app/views/auth/work/instructions/_form.html.erb