Sha256: 30545ec0107518bd60108641f645e6a6f54d96218d6eb99eeaca5a2753dca8b3

Contents?: true

Size: 606 Bytes

Versions: 8

Compression:

Stored size: 606 Bytes

Contents

<%= simple_form_for(@story, html: {class: 'form-vertical'}) do |f| %>
  <%= render partial: 'shared/form/error_messages', locals: { resource: @story } %>
  
  <% unless @story.new_record? %>
  <div class="form-actions">
    <%= f.button :submit %>
  </div>
  <% end %>
  
  <div class="form-inputs">
    <%= @story.project ? f.hidden_field(:project_id) : f.input(:project_id, collection: Project.all) %> 
    <%= f.input :name %>  
    <%= f.input :text, as: :text, input_html: {style: 'width:500px; height:100px;'} %>
  </div>
  
  <div class="form-actions">
    <%= f.button :submit %>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
voluntary-0.1.0 app/views/stories/_form.html.erb
voluntary-0.1.0.rc4 app/views/stories/_form.html.erb
voluntary-0.1.0.rc3 app/views/stories/_form.html.erb
voluntary-0.1.0.rc2 app/views/stories/_form.html.erb
voluntary-0.1.0.rc1 app/views/stories/_form.html.erb
voluntary-0.0.3 app/views/stories/_form.html.erb
voluntary-0.0.2 app/views/stories/_form.html.erb
voluntary-0.0.1 app/views/stories/_form.html.erb