From 8c71f6da146ea1075226fcaf929153ce6487e575 Mon Sep 17 00:00:00 2001 From: Bharadwaj Date: Sat, 24 Sep 2016 12:24:17 +0000 Subject: [PATCH] Removed unnecessary indentation in guide.rst --- docs/guide.rst | 91 +++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 46 deletions(-) diff --git a/docs/guide.rst b/docs/guide.rst index 4bb40fe..27e26a6 100644 --- a/docs/guide.rst +++ b/docs/guide.rst @@ -1074,80 +1074,79 @@ Korona can help you build ```` tag. Korona supports input tag attributes like: - accept(str): Specifies the types of files that the server accepts. The - accept attribute can only be used with . +accept attribute can only be used with . - align (str): Specifies the alignment of an image input. The align attribute - is only used with . +is only used with . - alt (str): Specifies an alternate text for images. The alt attribute can only - be used with . +be used with . - autocomplete (str): Specifies whether an element should have - autocomplete enabled. The autocomplete attribute works with the following - types: text, search, url, tel, email, password, datepickers, range, - and color. +autocomplete enabled. The autocomplete attribute works with the following + types: text, search, url, tel, email, password, datepickers, range, +and color. - autofocus (bool): Specifies that an element should automatically get - focus when the page loads. +focus when the page loads. - checked (bool): Specifies that an element should be pre-selected - when the page loads. The checked attribute can be used with and . +when the page loads. The checked attribute can be used with and . - dirname (str): Specifies that the text direction will be submitted. The - dirname attribute's value is always the name of the input field, followed - by ".dir". +dirname attribute's value is always the name of the input field, followed by +".dir". - disabled (bool): Specifies that an element should be disabled. - form (str): Specifies one or more forms the element belongs to. - formaction (str): Specifies the URL of the file that will process the input - control when the form is submitted. The formaction attribute is used with - type="submit" and type="image". +control when the form is submitted. The formaction attribute is used with +type="submit" and type="image". - formenctype (str): Specifies how the form-data should be encoded when - submitting it to the server. The formenctype attribute is used with - type="submit" and type="image". +submitting it to the server. The formenctype attribute is used with +type="submit" and type="image". - formmethod (str): Defines the HTTP method for sending data to the action URL. - The formmethod attribute can be used - with type="submit" and type="image". +The formmethod attribute can be used with type="submit" and type="image". - formnovalidate (bool): Defines that form elements should not be validated - when submitted. The formnovalidate attribute can be used with type="submit". +when submitted. The formnovalidate attribute can be used with type="submit". - formtarget (str): Specifies where to display the response that is received - after submitting the form. The formtarget attribute can be used with - type="submit" and type="image". +after submitting the form. The formtarget attribute can be used with +type="submit" and type="image". - height (int/float): Specifies the height of an element. The height - attribute is used only with . +attribute is used only with . - list (str): Refers to a element that contains pre-defined options - for an element. +for an element. - max (int/date/time): Specifies the maximum value for an element. The - max attribute works with the following input types: number, range, date, - datetime, datetime-local, month, time and week. +max attribute works with the following input types: number, range, date, +datetime, datetime-local, month, time and week. - maxlength (int): Specifies the maximum number of characters allowed in an - element. + element. - min (int/date/time): Specifies a minimum value for an element. The - min attribute works with the following input types: number, range, date, - datetime, datetime-local, month, time and week. +min attribute works with the following input types: number, range, date, +datetime, datetime-local, month, time and week. - multiple (bool): Specifies that a user can enter more than one value in an - element. The multiple attribute works with the following input - types: email, and file. + element. The multiple attribute works with the following input types: +email, and file. - name (str): Specifies the name of an element. - pattern (str): Specifies a regular expression that an element's - value is checked against. The pattern attribute works with the following - input types: text, date, search, url, tel, email, and password. +value is checked against. The pattern attribute works with the following input +types: text, date, search, url, tel, email, and password. - placeholder (str): Specifies a short hint that describes the expected value - of an element. The placeholder attribute works with the following - input types: text, search, url, tel, email, and password. +of an element. The placeholder attribute works with the following +input types: text, search, url, tel, email, and password. - readonly (bool): Specifies that an input field is read-only. - required (bool): Specifies that an input field must be filled out before - submitting the form. The required attribute works with the following input - types: text, search, url, tel, email, password, date pickers, number, - checkbox, radio, and file. +submitting the form. The required attribute works with the following input +types: text, search, url, tel, email, password, date pickers, number, +checkbox, radio, and file. - size (int): Specifies the width, in characters, of an element. The - size attribute works with the following input types: text, search, tel, - url, email, and password. -- src (str): Specifies the URL of the image to use as a submit button. The - src attribute is required for , and can only be used - with . -- step (int): Specifies the legal number intervals for an input field. The - step attribute works with the following input types: number, range, date, - datetime, datetime-local, month, time and week. +size attribute works with the following input types: text, search, tel, url, +email, and password. +- src (str): Specifies the URL of the image to use as a submit button. The src +attribute is required for , and can only be used with +. +- step (int): Specifies the legal number intervals for an input field. The step +attribute works with the following input types: number, range, date, datetime, +datetime-local, month, time and week. - type (str): Specifies the type element to display. - value (str): Specifies the value of an element. The value attribute - cannot be used with . +cannot be used with . - width (int/float): Specifies the width of an element. The width - attribute is used only with . +attribute is used only with . Korona can help you build ```` tag.