--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a password field, a masked text field that will hide the users input behind a mask character.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Options
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:disabled</tt> - If set to true, the user will not be able to use this input.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:size</tt> - The number of visible characters that will fit in the input.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:maxlength</tt> - The maximum number of characters that the browser will allow the user to enter.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Any other key creates standard HTML attributes for the tag.
  type: :BULLET
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  password_field_tag 'pass'\n  # =&gt; &lt;input id=&quot;pass&quot; name=&quot;pass&quot; type=&quot;password&quot; /&gt;\n\n  password_field_tag 'secret', 'Your secret here'\n  # =&gt; &lt;input id=&quot;secret&quot; name=&quot;secret&quot; type=&quot;password&quot; value=&quot;Your secret here&quot; /&gt;\n\n  password_field_tag 'masked', nil, :class =&gt; 'masked_input_field'\n  # =&gt; &lt;input class=&quot;masked_input_field&quot; id=&quot;masked&quot; name=&quot;masked&quot; type=&quot;password&quot; /&gt;\n\n  password_field_tag 'token', '', :size =&gt; 15\n  # =&gt; &lt;input id=&quot;token&quot; name=&quot;token&quot; size=&quot;15&quot; type=&quot;password&quot; value=&quot;&quot; /&gt;\n\n  password_field_tag 'key', nil, :maxlength =&gt; 16\n  # =&gt; &lt;input id=&quot;key&quot; maxlength=&quot;16&quot; name=&quot;key&quot; type=&quot;password&quot; /&gt;\n\n  password_field_tag 'confirm_pass', nil, :disabled =&gt; true\n  # =&gt; &lt;input disabled=&quot;disabled&quot; id=&quot;confirm_pass&quot; name=&quot;confirm_pass&quot; type=&quot;password&quot; /&gt;\n\n  password_field_tag 'pin', '1234', :maxlength =&gt; 4, :size =&gt; 6, :class =&gt; &quot;pin-input&quot;\n  # =&gt; &lt;input class=&quot;pin-input&quot; id=&quot;pin&quot; maxlength=&quot;4&quot; name=&quot;pin&quot; size=&quot;6&quot; type=&quot;password&quot; value=&quot;1234&quot; /&gt;\n"
full_name: ActionView::Helpers::FormTagHelper#password_field_tag
is_singleton: false
name: password_field_tag
params: (name = "password", value = nil, options = {})
visibility: public
