Sha256: 6350f635a6aa59c612a708ecddadbe9218f47ba7b8eb9f146fc972241c343580

Contents?: true

Size: 481 Bytes

Versions: 6

Compression:

Stored size: 481 Bytes

Contents

<%= simple_form_for(@story, url: @story.new_record? ? stories_path : story_path(@story), as: :story, html: {class: 'form-vertical'}) do |f| %>
  <%= render partial: 'shared/form/error_messages', locals: { resource: @story } %>
  
  <%= @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;'} %>
  
  <%= f.button :submit %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voluntary-0.7.1 app/views/stories/_form.html.erb
voluntary-0.7.0 app/views/stories/_form.html.erb
voluntary-0.6.0 app/views/stories/_form.html.erb
voluntary-0.5.2 app/views/stories/_form.html.erb
voluntary-0.5.1 app/views/stories/_form.html.erb
voluntary-0.5.0 app/views/stories/_form.html.erb