Sha256: 1ea9a294f8c6c34378ce32538cb85474d2869002161033d3e7cea17b367162e2

Contents?: true

Size: 593 Bytes

Versions: 7

Compression:

Stored size: 593 Bytes

Contents

<%= simple_form_for(@project, html: {class: 'form-horizontal'}) do |f| %>
  <%= render partial: 'shared/form/error_messages', locals: { resource: @project } %>
  
  <div class="form-inputs">
  	<%= f.input :organization_id, collection: current_user.organizations %>
    <%= f.input :product_id, collection: Product.all %>
    <%= f.input :name %>  
    <%= f.input :text, input_html: {style: 'width: 500px; height:300px;'} %>
    <%= f.input :url %>
    
    <%= f.association :areas, as: :check_boxes %>
  </div>
  
  <div class="form-actions">
    <%= f.button :submit %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
voluntary-0.4.0 app/views/projects/_form.html.erb
voluntary-0.3.0 app/views/projects/_form.html.erb
voluntary-0.2.4 app/views/projects/_form.html.erb
voluntary-0.2.3 app/views/projects/_form.html.erb
voluntary-0.2.2 app/views/projects/_form.html.erb
voluntary-0.2.1 app/views/projects/_form.html.erb
voluntary-0.2.0 app/views/projects/_form.html.erb