If the court by its finding, or the jury by their verdict, as the case may be, ascertains that the plaintiff has a lien as claimed, judgment shall be entered for the amount secured thereby, interest and cost, against the party liable for the same, and establish the lien and condemn the property to sale for the satisfaction thereof; but if the finding or verdict is for the plaintiff only on the issue of indebtedness, a judgment shall be entered in his favor for the amount thereof as in other cases.
Ala. Code § 35-11-414 (1975)