Sha256: 9791b663d7cd3176309d0c9c02642821f0640c550cd9344036b699e3079c9778

Contents?: true

Size: 666 Bytes

Versions: 7

Compression:

Stored size: 666 Bytes

Contents

-title "Select the member to assign..."

-content_for :body do
  %h3
    Add a new member

  %form(action="#{ENV["BUGHUNTER_PATH"]}/add_member" method="post")
    %input(type="hidden" name="assign_to" value="#{@error.id}")
    %div(data-role="fieldcontain")
      %label(for="name")
        Name or Email:
      %input(type="text" name="name" id="name")

    %input(type="submit" value="Add")


  -if BugHunter::Project.instance.members.count > 0
    %h3
      Or select the member:
    -(BugHunter::Project.instance.members||[]).each do |member|
      %a(href="#{error_path(@error)}/assign_to?member=#{member}" data-role="button" data-theme="c")
        &=member


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bug_hunter-0.1.1 lib/bug_hunter/views/errors/assign.haml
bug_hunter-0.1.0 lib/bug_hunter/views/errors/assign.haml
bug_hunter-0.0.6 lib/bug_hunter/views/errors/assign.haml
bug_hunter-0.0.5 lib/bug_hunter/views/errors/assign.haml
bug_hunter-0.0.4 lib/bug_hunter/views/errors/assign.haml
bug_hunter-0.0.2 lib/bug_hunter/views/errors/assign.haml
bug_hunter-0.0.1 lib/bug_hunter/views/errors/assign.haml