Sha256: ca90049e357e08832320b041185eb70760fb0212c085b2fc27d7051eea434826

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

%p
  Specify either a fullpath or a path pattern
  %label{:for => 'double_fullpath'} Request fullpath
  %input.wide#double_fullpath{:type => 'text', :name => 'double[fullpath]', :value => @double.fullpath}

  %label{:for => 'double_pathpattern'} Request path pattern
  %input.wide#double_pathpattern{:type => 'text', :name => 'double[pathpattern]', :value => @double.pathpattern}

%p
  %label{:for => 'double_content'} Content
  %textarea.wide#double_content{:name => 'double[content]', :rows => 10}= @double.content

%p
  %label{:for => 'double_verb'} Verb
  %select#double_verb{:name => 'double[verb]'}
    - verbs.each do |v|
      %option{:name => v, :selected => (@double.verb == v)}= v

%p
  %label{:for => 'double_status'} Status
  %select#double_status{:name => 'double[status]'}
    - statuses.each do |s|
      %option{:name => s, :selected => (@double.status == s)}= s

%p
  %label{:for => 'double_delay'} Delay
  %input.wide#double_delay{:type => 'text', :name => 'double[delay]', :value => @double.delay}

%p
  %label{:for => 'double_description'} Description
  %textarea.wide#double_description{:name => 'double[description]', :rows => 3}= @double.description

%p
  %input{:type => 'submit', :value => 'Save'}
  |
  %a{:href => 'javascript:history.back()'} back

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rest-assured-4.0.0 views/doubles/_form.haml
rest-assured-3.0.1 views/doubles/_form.haml
rest-assured-3.0.0 views/doubles/_form.haml
rest-assured-2.2.0 views/doubles/_form.haml