Sha256: 8931246fb599e2d92a454a0364440798d2be19a0a0415328b97ea6d2a0df6290

Contents?: true

Size: 694 Bytes

Versions: 21

Compression:

Stored size: 694 Bytes

Contents

<!-- outcomes/_outcome.html.erb -->
    <li id="<%= element_id(@outcome) %>" class="outcome">
    <% if @outcome.created_at.nil? -%>
      <% remote_form_for @outcome do |f| -%>
        <%= hidden_field_tag 'scenario_id', @scenario.id %>
        <div>
          <%= f.label :description %>
          <%= f.text_area :description, :size => "50x2" %>
          <%= f.submit 'Create' %>
        </div>
      <% end -%>
    <% else -%>
      <p>
        <%= in_place_editor_field 'outcome', 'description' %>&nbsp;&bull;
        <%= link_to_remote "Delete", :url => @outcome, :confirm => 'Delete this expected result?', :method => :delete, :class => "delete" %>
      </p>
    <% end -%>
    </li>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
branston-0.6.6 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.6.5 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.6.4 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.6.3 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.6.2 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.6.1 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.6.0 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.5.2 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.5.1 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.5.0 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.4.6 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.4.5 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.4.4 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.4.3 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.4.2 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.4.1 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.4.0 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.3.6 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.3.4 lib/branston/app/views/outcomes/_outcome.html.erb
branston-0.3.3 lib/branston/app/views/outcomes/_outcome.html.erb