Sha256: 6b4ffac6f325504ba0563d997f0ed1a1eb62db45bbb818c061f8426b0733873c

Contents?: true

Size: 981 Bytes

Versions: 3

Compression:

Stored size: 981 Bytes

Contents

<% if flash[:success] %>
    <div class="success"><%= flash[:success] %></div>
<% end %>

<form method="post" action="<%= PivotalReporter::Engine.config.mount_point %>/stories">
    <label for="story[story_type]">Type</label>
    <select name="story[story_type]">
      <option value="bug">Bug</option>
      <option value="feature">Feature</option>
    </select>
    <br />

    <label for="story[name]">Title</label>
    <input type="text" name="story[name]" />
    <br />

    <label for="story[description]">Description</label>
    <textarea name="story[description]"></textarea>
    <br />

    <input type="hidden" name="story[labels]" value="<%= pivotal_labels %>" />
    <input type="hidden" name="story[project_id]" value="<%= PivotalReporter::Engine.config.project_id %>" />
    <input type="hidden" name="story[requested_by]" value="<%= requested_by %>" />

    <input type="submit" value="Report" />

</form>

<%= link_to "View Your Active Submissions", stories_path %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pivotal_reporter-0.7.2 app/views/pivotal_reporter/stories/new.html.erb
pivotal_reporter-0.7.1 app/views/pivotal_reporter/stories/new.html.erb
pivotal_reporter-0.7.0 app/views/pivotal_reporter/stories/new.html.erb